Connecting Virtual Box Guest via SSH client
Overview
Configuring Network settings for Virtual
Box guest instance is one of the primary steps on setting up the VM instance. This
allows users to connect to guest OS from SSH clients and ease to perform the
desired operations on the OS.
Steps
- Open Oracle VM VirtualBox manager window
- Goto File -> Preferences for changing the configuration settings
- Choose Network option from the left menu panel
- Select DHCP server tab for configuring server IPs
- Click OK. Now on the VM instance Right-Click->Settings to modify the Network settings for Guest instance.
- Choose Network option
- There are Adapters options to configure different types of network adapters.
- On Adapter1, select Host-only Adapter option for Attached to field. The name should be VirtualBox Host-Only Ethernet Adapter
- Make sure the Enable Network Adapter is checked.
Connecting guest from SSH client
Now the network settings are configured.
Let’s try connecting from SSH client to the guest OS.
I’m using Putty SSH client app to connect
the Guest OS.
Comments
Post a Comment