How to Setup SSH access between VirtualBox Host and Guest VMs

Hello
wanted to install a test virtual machine on my Desktop pc for server and ispconfig proposes. Test new things, new software etc.
The problem was that the clipboard between host and virtual machine does not works if you haven't set up X. So i google it for the solution and i wrote a simple tutorial.

after installation open the
Oracle_VM_VirtualBox_Extension_Pack-4.1.6-74713.vbox-extpack
with virtualbox (double click)
to install the Oracle VM VirtualBox Extension Pack

it will also ask you the root password during the installation

to have usb support between the the host and the guest machines edit /etc/fstab and add

Code:

usbfs /proc/bus/usb usbfs defaults,devmode=666 0 0

then do a

Code:

mount -a

as root from your terminal

now
open virtualbox
go to File-->Preferences-->Network and click on the "Add Host-only network (Ins)
it will create automatically a "vboxnet0" network
Click to OK to save changes

Add a new virtual machine and proceed with installation. I installed Debian 6.
After installation boot the new v.machine and then power off it.

Now go with your mouse on your virtual machine
Right-click --> Settings
Go to Network -- click on the second tab "Adapter 2"
check the "Enable Network Adapter" and choose from the drop-down Attached to: Host-only Adapter
It will automatically choose the "vboxnet0" in the Name field
Click to OK to save changes