Skip to content
This repository has been archived by the owner on Sep 26, 2021. It is now read-only.

Error getting IP address: ssh command error: command : ip addr show err : exit status 255 #887

Open
dimascool08 opened this issue May 2, 2020 · 3 comments

Comments

@dimascool08
Copy link

Error checking TLS connection: ssh command error:
command : ip addr show
err : exit status 255
output :
Error checking TLS connection: ssh command error:
command : ip addr show
err : exit status 255
output :

                    ##         .
              ## ## ##        ==
           ## ## ## ## ##    ===
       /"""""""""""""""""\___/ ===
  ~~~ {~~ ~~~~ ~~~ ~~~~ ~~~ ~ /  ===- ~~~
       \______ o           __/
         \    \         __/
          \____\_______/

Error getting IP address: ssh command error:
command : ip addr show
err : exit status 255
output :
docker is configured to use the default machine with IP
For help getting started, check out the docs at https://docs.docker.com

Start interactive shell

@yosef-elementryx
Copy link

See Issue 317 (link)

docker-machine rm default

@purplezimmermann
Copy link

Hi @dimascool08 @yosef-elementryx

I just found a less destructive solution to the same problem on my Windows 10 machine, and an interesting reason

There are two OpenSSH clients installed in my system: The standalone Windows release and the MSYS2 package. Depending on the one that is used to create the Docker machine, the other does not work to access it afterwards, bailing out with exactly the same error as described above, most probably due to different key files used (I haven't checked that detail yet)

So I just had to make sure that in all my shells and shell session configurations the same SSH client comes first in %PATH% and the problem was gone

Due to the often many duplications of Unix tools like OpenSSH coming as dependencies or bundled with other ported Unix applications to Windows, and ending up wildly in %PATH%, that mess could very likely be the actual reason for this issue on other Windows machines as well

@Saswat956
Copy link

USER@DESKTOP-ILDANCJ MINGW64 /c/Program Files/Docker Toolbox
$ eval $(docker-machine env default)
Error checking TLS connection: ssh command error:
command : ip addr show
err : exit status 255
output :
can anyone please please help me to resolve this

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants