You are not logged in.

#1 2012-05-31 08:41:22

nos09
Member
Registered: 2011-09-09
Posts: 107

ssh in virtual machine

I want to connect to my virtual machine (vm player) archlinux (and CentOS ) with my host - arch linux through ssh. I searched in archwiki secure shell but found nothing related to the task except installation of ssh which i did in both guest and host. but i dont know much about networking.. any helping hand ?

Offline

#2 2012-05-31 08:49:40

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: ssh in virtual machine

Before you get to ssh, you need to configure networking between the host and the guest. Arch wiki has some vmware related stuff - if you don't find the answer there, google should fill in the gaps.

FYI vmware is totaly unsupported on Arch - doesn't mean it won't work, but it may be harder to get help with it. You might consider switching to virtualbox, which is fully supported.

Offline

#3 2012-05-31 08:58:16

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: ssh in virtual machine

To add to what tomk already said, picking 1 of the following 2 options should be sufficient to ensure connectivity between your host os and the VM guests:

1) Set the VM's network adapter in bridged mode.
2) Add an additional adapter in host-only mode (in the VM's) and let the ssh daemon listen on that one.


Burninate!

Offline

#4 2012-05-31 09:02:18

nos09
Member
Registered: 2011-09-09
Posts: 107

Re: ssh in virtual machine

i ll install one on virtualbox.. and then will let you know.

Offline

#5 2012-06-01 01:59:15

nos09
Member
Registered: 2011-09-09
Posts: 107

Re: ssh in virtual machine

sorry folks for the late reply .. the ISP server was down !

anyway I installed arch in virtualbox, and will try to install and configure ssh.

Offline

Board footer

Powered by FluxBB