1

I know I can type docker-engine ssh default on xshell, but the content will be wired, and if I press ctrl + c which is very often to break command on Linux, it will leave the docker machine, if I use command ssh 192.168.88.100 it asked username and password, what are the username and password

Chan
  • 1,947
  • 6
  • 25
  • 37

1 Answers1

2

if I use command ssh 192.168.88.100 it asked username and password, what are the username and password

It should not ask you for a username/password if ssh does find the proper public/private key in the $HOME/.ssh folder of the account doing the ssh command.
Check XShell ssh config (such as those shown here) to see if you can specify your public/private key used for connecting to the docker-machine (they are here).

Community
  • 1
  • 1
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
  • I found the username and password, it's docker and tcuser – Chan Nov 30 '16 at 07:13
  • OK, but still: if your public/private keys were correctly configured, you would not need to use username/password. – VonC Nov 30 '16 at 07:20