Page 1 of 1

ssh host to guest

Posted: 16. Jun 2010, 18:16
by sunmat
Hello,

Running Ubuntu as guest on Mac OS X SL as host, is it a way to connect to the virtual machine using ssh from the host?

Thanks

Matthieu

Re: ssh host to guest

Posted: 16. Jun 2010, 18:44
by dmcgraw
Yes, assuming you have an ssh daemon running on the guest.

Re: ssh host to guest

Posted: 17. Jun 2010, 18:32
by sunmat
Ok, but I'm not very good in networking, how can I know the IP of the guest?

Re: ssh host to guest

Posted: 17. Jun 2010, 18:55
by dmcgraw
Well, you could just open a terminal window in the Ubuntu client and run ifconfig.

Re: ssh host to guest

Posted: 17. Jun 2010, 19:43
by meoconvn38
sunmat wrote:Hello,

Running Ubuntu as guest on Mac OS X SL as host, is it a way to connect to the virtual machine using ssh from the host?

Thanks

Matthieu
Sure you should install the SSH server in the ubuntu then you can use OPEN SSH SERVER easy :D

you can referent from here https://help.ubuntu.com/6.06/ubuntu/ser ... erver.html

Re: ssh host to guest

Posted: 21. Jun 2010, 03:18
by deltatux
Just do these steps:

Code: Select all

sudo apt-get install ssh
It'll ask you if you want to install openssh-server and ssh, just say yes to these packages.

Voila, you're done, it's that easy!