Connecting to a Virtual Box Linux Virtual Machine via SSH

Connecting to a Virtual Box Linux Virtual Machine via SSH

Last updated:

For all these to work, you need to first make sure you have openssh-server installed on the machine you want to connect to. For example, if on Ubuntu, you just need to:

$ sudo apt-get install openssh-server

connect from host to guest via port forwarding