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

  1. Open Oracle VM VirtualBox manager window

  2. Goto File -> Preferences for changing the configuration settings
  3. Choose Network option from the left menu panel
  4.  


  5.  Select DHCP server tab for configuring server IPs
  6.  Click OK. Now on the VM instance Right-Click->Settings to modify the Network settings for Guest instance.
  7.  Choose Network option
  8.  There are Adapters options to configure different types of network adapters.
  9.  On Adapter1, select Host-only Adapter option for Attached to field. The name should be VirtualBox Host-Only Ethernet Adapter
  10.  Make sure the Enable Network Adapter is checked.





  11. 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

Popular posts from this blog

Trait, an interface in Scala

Singleton class made easy in Scala

Quickstart with Angular 2/4