mender-artifact snapshot: terminal misbehaviour after Connection refused
Description
Using mender-artifact 3.3.0 (from Mender release 2.3.0)
How to reproduce:
disable ssh on the device
try generating an snapshot from mender-artifact: /mender-artifact write rootfs-image -f ssh://pi@10.20.33.78 -o here -t raspberrypi3 -n here
From here on, my own terminal gets very weird (I cannot see what I type in the terminal, I cannot go up/down to browse bash history, I don't get proper LF after pressing Enter, etc):
[lluis@gerty mender-convert](2.0.x)$ ./mender-artifact write rootfs-image -f ssh://pi@10.20.33.78 -o here -t raspberrypi3 -n here
ssh: connect to host 10.20.33.78 port 22: Connection refused
SSH error: Error waiting for ssh session to be established.: EOF
[lluis@gerty mender-convert](2.0.x)$ [lluis@gerty mender-convert](2.0.x)$ [lluis@gerty mender-convert](2.0.x)$ [lluis@gerty mender-convert](2.0.x)$ [lluis@gerty mender-convert](2.0.x)$ [lluis@gerty mender-convert](2.0.x)$ [lluis@gerty mender-convert](2.0.x)$ ^C
At this point, the only workaround is to type "exit" (without seeing what I type) and pressing Enter
Using mender-artifact 3.3.0 (from Mender release 2.3.0)
How to reproduce:
disable ssh on the device
try generating an snapshot from mender-artifact:
/mender-artifact write rootfs-image -f ssh://pi@10.20.33.78 -o here -t raspberrypi3 -n here
From here on, my own terminal gets very weird (I cannot see what I type in the terminal, I cannot go up/down to browse bash history, I don't get proper LF after pressing Enter, etc):
[lluis@gerty mender-convert](2.0.x)$ ./mender-artifact write rootfs-image -f ssh://pi@10.20.33.78 -o here -t raspberrypi3 -n here ssh: connect to host 10.20.33.78 port 22: Connection refused SSH error: Error waiting for ssh session to be established.: EOF [lluis@gerty mender-convert](2.0.x)$ [lluis@gerty mender-convert](2.0.x)$ [lluis@gerty mender-convert](2.0.x)$ [lluis@gerty mender-convert](2.0.x)$ [lluis@gerty mender-convert](2.0.x)$ [lluis@gerty mender-convert](2.0.x)$ [lluis@gerty mender-convert](2.0.x)$ ^C
At this point, the only workaround is to type "exit" (without seeing what I type) and pressing Enter