Open untoreh opened 6 years ago
Please, provide a full reproducer
# Supfile
version: 0.4
networks:
test:
hosts:
- root@localhost:2222
commands:
bash:
desc: Interactive Bash on all hosts
stdin: true
run: >
bash -l
targets:
dropbear
docker run --rm -it --net=host alpine sh -c "apk add --no-cache dropbear; mkdir -p /etc/dropbear; mkdir ~/.ssh; chmod 700 ~/.ssh; echo $SSH_KEY > ~/.ssh/authorized_keys; dropbear -p 2222 -REF"
sup
echo "hello" | sup test bash
I have tested piping a bash script, trying to pipe to a dropbear ssh server returns
While quickly testing with sshd it works as intended. Testing with with just the ssh client (standard openssh client)
works so I don't know what golang ssh or sup does differently