nlf / dlite

The simplest way to use Docker on OS X
MIT License
2.34k stars 53 forks source link

unable to connect to ssh on 2.0.0-beta7 #204

Open dklawren opened 8 years ago

dklawren commented 8 years ago

dlite ssh just hangs indefinitely. dlite tty seems to start but cannot see that the vm is running.

$ dlite status vm_state: started ip_address: 192.168.64.12 pid: 3195 id: 04323bea-9bb3-11e6-bc79-a45e60ee1a85 hostname: local.docker disk_size: 20 disk_path: /Users/dkl/.dlite/disk.qcow cpu_cores: 2 memory: 2 dns_server: 192.168.64.1 docker_version: latest docker_args:

$ dlite ssh ^C

$ dlite tty You may have to press enter a few times to get a login prompt Username is 'root', password is 'dlite' When you're finished press Ctrl+A then D to exit

Failed to get a terminal, is your virtual machine running?

nlf commented 8 years ago

tty i'm aware is broken, ssh should be working though.. are you able to ping the vm? what happens if you ssh root@192.168.64.12?

nlf commented 8 years ago

the tty command works now, i'll have a new build released today with that fix.

as for why ssh was failing, this sounds like more of a networking or vm related problem so i'm going to re-title this issue as such until we can diagnose it