CahBojonegoro

Rawe Rawe Rantas, Malang Malang Putung

Accessing Linux Host OS from Virtual Box Linux/Unix Guest

with one comment

Usually we use samba to access Linux Host Operating System from Linux/Unix Guest OS in VirtualBox.
But this is another way to get it done with small effort and better result 🙂

In this case, I have OpenSolaris 2008.11 running inside VBox on My Ubuntu Linux Host Operating System.
First, what we need is just install openssh-server.

sudo aptitude install openssh-server

It will then setup openssh-server and generate RSA Key.

Then, in OpenSolaris Inside VBox.
Open Nautilus File Manager.
Ctrl+L to go to address bar, then inside address bar type:

ssh://LinuxUserName@10.0.2.2/

( 10.0.2.2 is IP address of host OS from VirtualBox point of View )

Then, a password dialogue box will appear. Fill the password the the password of that particular LinuxUserName. You can choose remember forever in order not to be prompted to fill the password again.

That’s it, you already have access to root directory of Linux Host Operating System which is means you can access any file in Host OS from the Guest OS.

Using the same way we can access any Linux/Unix OS that have ssh enable from our Linux PC/Laptop. Say, you have tens of Linux/Unix server in your office, so you can access it using this way if you need to copy several file from/to the server. ( no need to ftp file one by one )

open nautilus

ssh://userName@IP-address/

Have Fun !!

Advertisements

Written by cahbojonegoro

December 22, 2008 at 1:59 pm

Posted in Ubuntu, Unix

One Response

Subscribe to comments with RSS.

  1. […] Rawe Rawe Rantas, Malang Malang Putung « Accessing Linux Host OS from Virtual Box Linux/Unix Guest Accessing VBox Guest OS from Host OS December 24, 2008 This is a reverse method from the […]


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: