Geek Logbook

Tech sea log book

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.

  1. Download and install Virtual Box – Link to Virtual box
  2. Download a version of UBUNTU – Link to Ubuntu
  3. Create New Virtual Machine
    1. On Network Label change from NAT to Bridged Adapter
  1. Install SSH server:
sudo apt-get install openssh-server
  1. Find out your Ip address in your Linux console. 
ip a

You have to use the direction in the second red box.

  1. Connect via ssh.

Useful Documentation: