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

Affects versions

Environment

None

Checklist

Activity

Show:

Alf-Rune SiqvelandMarch 10, 2020 at 8:44 AM

Kristian AmlieMarch 9, 2020 at 9:49 AM

?

Lluis CamposMarch 6, 2020 at 9:18 AM

ping : do you guys know what could be going on? Can you estimate?

Fixed

Details

Assignee

Reporter

Labels

Story Points

Priority

Days in progress

0

Fix versions

Backlog

yes

Zendesk Support

Checklist

Created March 6, 2020 at 9:16 AM
Updated June 25, 2024 at 12:02 PM
Resolved April 3, 2020 at 7:48 AM