Connect Ubuntu in Virtual Box with SSH
After understanding the importance of a well understanding of ssh. It’s time to make our first practice connecting from our windows to a Ubuntu installed in a virtual machine in Virtual Box.
- Download and install Virtual Box – Link to Virtual box
- Download a version of UBUNTU – Link to Ubuntu
- Create New Virtual Machine
- On Network Label change from NAT to Bridged Adapter
- Install SSH server:
sudo apt-get install openssh-server
- Find out your Ip address in your Linux console.
ip a
You have to use the direction in the second red box.
- Connect via ssh.
Useful Documentation: