SSH From Mac to Ubuntu VM


I had an Ubuntu instance running on VirtualBox- now, how to SSH that to my Mac? Is it possible to bring that virtual-to-“real world” machine running on the same network? Very curious to find out..

First, I downloaded openssh-server:

sudo apt-get install openssh-server

Next, enable and start the SSH service:

sudo systemctl enable ssh
sudo systemctl start ssh

# and now to test on localhost:
ssh davideliason@localhost // worked successfully

, ,

Leave a comment