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
boot2docker ip
ssh docker@ip-address
. password: tcuser This 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).
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.