The best way to login to a guest Linux VirtualBox VM is port forwarding.
By default, you should have one interface already which is using NAT. Then go to the Network settings and click the Port Forwarding button. Add a new Rule:
or from command line
where 'myserver' is the name of the created VM. Check the added rules:
That's all! Please be sure you don't forget to install an SSH server:
To SSH into the guest VM, write:
|
Thursday, January 14, 2016
Virtual Box Ubuntu configuring and connecting through ssh from host machine
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment