How to connect the Linux machine via PuTTY which is hosted in Oracle virtualbox

Oracle VM VirtualBox – Enable the Network Adapter

In order to establish the connection between oracle virtual box and local host, we need to enable or change the adapter which is provided in the host.

We can access the Linux machine via putty from the host by performing or changing few settings.

Step 1:

Open the oracle virtual box, Click the server name and Click “Settings” option.

Select “Network” option in the Settings window.

Click “Adapter 1”

Change the “NAT” to “Host only Adapter” and Click “ok”.

Now you can see the host adapter name under the network details.

Oracle VM VirtualBox – Check the IP Address

Step 2:

Start the Linux machine and login.

Type the below command to list or see the IP address of the Linux machine.

# ifconfig 

IP address will be listed in the result.

Oracle VM VirtualBox – Connect the machine via PuTTY

Step 3:

Open the PuTTY in the host.

Type the “IP address” of the Linux machine and Click “open”.

Now you can access the Linux machine which is hosted in oracle virtual manager from your host.


Comments