Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save edgarMeinart/2f2bef403bd38e0e4115c0dbf6afd10c to your computer and use it in GitHub Desktop.
Save edgarMeinart/2f2bef403bd38e0e4115c0dbf6afd10c to your computer and use it in GitHub Desktop.

Revisions

  1. @wacko wacko revised this gist May 14, 2013. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    h1. On Mac OS (host):
    ## On Mac OS (host):

    Shutdown your VM and do:

    @@ -10,7 +10,7 @@ VM's Settings > System > check "Enable I/O APIC."
    VM's Settings > Network > Adapter 2 > host-only vboxnet0


    h1. On Ubuntu (guest):
    ## On Ubuntu (guest):

    Install OpenSSH Server

  2. @wacko wacko revised this gist May 14, 2013. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    On Mac OS (host):
    h1. On Mac OS (host):

    Shutdown your VM and do:

    @@ -10,7 +10,7 @@ VM's Settings > System > check "Enable I/O APIC."
    VM's Settings > Network > Adapter 2 > host-only vboxnet0


    On Ubuntu (guest):
    h1. On Ubuntu (guest):

    Install OpenSSH Server

  3. @wacko wacko revised this gist May 14, 2013. 1 changed file with 9 additions and 7 deletions.
    16 changes: 9 additions & 7 deletions gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -1,14 +1,16 @@
    VirtualBox > Settings > Network > Add (you will get `vboxnet0`)

    `$ ifconfig` will show you new interface vboxnet0
    On Mac OS (host):

    Shutdown your VM and do:

    VirtualBox > Settings > Network > Add (you will get `vboxnet0`)

    On a terminal `ifconfig` will show you new interface vboxnet0

    VM's Settings > System > check "Enable I/O APIC."
    VM's Settings > Network > Adapter 2 > host-only vboxnet0


    On Ubuntu guest:
    On Ubuntu (guest):

    Install OpenSSH Server

    @@ -24,6 +26,6 @@ Run `sudo ifup eth1` from the Ubuntu command line.
    SSH server should be up and running. Switch to your host terminal and enter `ssh 192.168.56.10`


    source:
    http://superuser.com/questions/424083/virtualbox-host-ssh-to-guest
    https://forums.virtualbox.org/viewtopic.php?f=8&t=40076
    sources:
    - http://superuser.com/questions/424083/virtualbox-host-ssh-to-guest
    - https://forums.virtualbox.org/viewtopic.php?f=8&t=40076
  4. @wacko wacko renamed this gist May 14, 2013. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  5. @wacko wacko created this gist May 14, 2013.
    29 changes: 29 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,29 @@
    VirtualBox > Settings > Network > Add (you will get `vboxnet0`)

    `$ ifconfig` will show you new interface vboxnet0

    Shutdown your VM and do:

    VM's Settings > System > check "Enable I/O APIC."
    VM's Settings > Network > Adapter 2 > host-only vboxnet0


    On Ubuntu guest:

    Install OpenSSH Server

    Edit `/etc/network/interfaces` file to append the following lines:
    ```
    auto eth1
    iface eth1 inet static
    address 192.168.56.10
    netmask 255.255.255.0
    ```

    Run `sudo ifup eth1` from the Ubuntu command line.
    SSH server should be up and running. Switch to your host terminal and enter `ssh 192.168.56.10`


    source:
    http://superuser.com/questions/424083/virtualbox-host-ssh-to-guest
    https://forums.virtualbox.org/viewtopic.php?f=8&t=40076