Question: how to ssh into a vm?
Answer: Set up the Network of VirtualBox to bridged adapter. ... 
Start the VM.
In Ubuntu, install SSH server to be able to use this type of connection. ... 
Check what your guest's IP address is by running: ifconfig. ... 
On your host, run Putty and enter the guest's IP address to establish the connection.