Archive for December 22nd, 2008
Accessing Linux Host OS from Virtual Box Linux/Unix Guest
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 !!







