Uploaded image for project: 'Mender'
  1. Mender
  2. MEN-3276

mender-artifact snapshot: terminal misbehaviour after Connection refused

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: (None)
    • Resolution: Fixed
    • Affects Version/s: 2.3.0
    • Fix Version/s: 2.3.1
    • Labels:
    • Days in progress:
      0

      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

        Attachments

          Activity

            People

            • Assignee:
              alfrunes Alf-Rune Siqveland
              Reporter:
              lluis Lluís Campos
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Summary Panel