Reputation: 25964
I an planning to use ExpanDrive(or any other ssh client) into boot2docker. I know of boot2docker ssh, but how do you use any client into boot2docker?
When using ssh keys I can see id_boot2docker and id_boot2docker.pub
Upvotes: 0
Views: 461
Reputation: 671
boot2docker ip
ssh docker@ip-address
. password: tcuserThis method will work if you want to ssh using same machine. If you want to connect it remotely from any other machine, you can setup port forwarding using virtualbox / vagrant and then use:
ssh -p 2022 docker@host-ip-address
where host-ip is the ip address of your mac (Assuming you are doing port forwarding to 2022 port).
Upvotes: 3