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?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

wolfje_xpCommented:
you should install openssh-server on the Linux machines, use client software on Windows (try PuTTY) ...
0
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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
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
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
VMware

From novice to tech pro — start learning today.