How to Configure Network Between Guest VM and Host in Oracle VirtualBox

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Get your own self-hosted blog with a Free Domain at ($3.95/month).
  4. Become a Supporter - Make a contribution via PayPal
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

Aaron Kili

Aaron Kili is a Linux and F.O.S.S enthusiast, an upcoming Linux SysAdmin, web developer, and currently a content creator for TecMint who loves working with computers and strongly believes in sharing knowledge.

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

8 Responses

  1. sam says:

    It worked till it get to the password. my password for the virtual machine is :root, but it didn’t go through.

    • Aaron Kili says:


      Edit you sshd configuration file and allow root user to use password:
      #vi /etc/ssh/sshd_config

      Look for the directive PermitRootLogin and change its value to:
      PermitRootLogin yes

      Save and close the file, then restart sshd service. And finally try to connect once more.

  2. Tiago Stoco says:

    Cheers mate !! I’m just starting with VM and your article have helped me how to deal with network in an virtual environment.

  3. priti says:

    Thank you for these steps, i had configured my Centos VM with DHCP and while I could connect to the Internet, I wasn’t able to ssh from my host (windows).

    After creating a second Host-only-network It worked. Now I can just use putty instead on my host

    i cant thank you enough.

  4. :) says:

    wow this actually worked, thank you so much

Got something to say? Join the discussion.

Your email address will not be published. Required fields are marked *