Trying to connect to VMware Linux guest from windows host using ssh

Hi Experts!

I am having a Windows host and has ssh installed on it. On VMware machines I have Linux installed and now I want to connect to these VMs from host Windows using SSH. I am unable to do so. Are there any specific settings in order to make this work ?

Thanks in advance.
LVL 2
Cha1tuAsked:
Who is Participating?
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Linux Virtual Machines behave like any LInux physical machines.

What VMware Product are you using VMware Workstation?

Check if you are using Bridged Networking (not NAT!).

0
 
wolfje_xpCommented:
you should install openssh-server on the Linux machines, use client software on Windows (try PuTTY) ...
0
 
pmasottaCommented:
1 verify the windows machine has network connection with the linux box.
2 the linux box has installed openssh-server
3 the default ssh port (22) is not blocked on both sides

then from windows run putty pointing to your linux box, you should be able to login...
0
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
Cha1tuAuthor Commented:
I have Secure Shell Client running on Windows box. Vmware Player is used to install linux RHEL on guests.

I dont have an idea of how to heck if port no. 22 is blocked. can you please tell me?

When I ping from guests, host is reachable. but from host to guest not reacheable.

I tried using Bridged,NAT and host only.. but no good.
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
to check if port 22 is blocked, use telnet <ip address> 22

if you get a connection port 22 is listening. if you get a connected refused it's blocked or not listening.
0
 
pmasottaCommented:
1-ok
2-??
3-as hanccocka says, but if you cannot ping the guest I bet telnetting port 22 will also fail...

You should have NAT on your VMs and you have to be able to ping both ways...
In case you have more than one VM active at the same time, repeat the test with just only one VM active and see if the problem is related to VM IP interaction...
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.