Page 1 of 1

SSH and host machine

Posted: 18. Feb 2011, 13:54
by Sara
Hi all,

Is there any way to make an ssh from my guest machine to my host machine through virtual box ??

I saw many article about doing ssh from host to guest but not the contrary ..would be grateful since I am new in this area :)

Thanks

Re: SSH and host machine

Posted: 18. Feb 2011, 17:24
by fixedwheel
some more information about your host OS and its network structure could be useful...

generally, you need a ssh server installed on the host: IIRC its not installed by default in Debian for example, there you would apt-get install openssh-server (and install that on the guest too...)

OTOH you need a network connection other than VBox default NAT. If -for example again- your host is connected to an ethernet LAN you would select "bridged" for the guest

Re: SSH and host machine

Posted: 18. Feb 2011, 19:02
by Sara
Sorry I had to precise..

I have both OS under Linux debian squeeze on host and guest machines..

I already installed ssh on both of them..but I do not know how to proceed ..??

Thanks a lot

Re: SSH and host machine

Posted: 18. Feb 2011, 21:56
by mschwartz
If you have bridged networking, then you can:

ssh 192.168.56.1