VMware Cloud Community
timcwhite
Contributor
Contributor

SSH not working

Good morning,

I have several servers running ESX 3.0.2. I can use putty to ssh into all of them except one.

  1. How do i revify that SSH is running

  2. if not how do start it

Thanks

Tim

0 Kudos
4 Replies
jgalexan
Enthusiast
Enthusiast

If this is truley your issue, the command is

service sshd restart

other options are

Usage: service < option > | --status-all | [ service_name command ]

chkconfig --list (this will show you the status of the services) run level 3 4 5 should be set to "on"

0 Kudos
rriva
Expert
Expert

to check if the service is running :

/etc/init.d/sshd status

To restart the service

/etc/init.d/sshd restart

check if from your client you can see the 22/tcp port open.

What do you mean for "can't connect", you can't login as root or you can't connect at all.

Riccardo Riva

If you found this or other information useful, please consider awarding points for "Correct" or "Helpful". Thank You!

RRiva | http://about.me/riccardoriva | http://www.riccardoriva.com
0 Kudos
timcwhite
Contributor
Contributor

Thanks,

I couldn't connect at all. I realized that my machine may have been on the wrong vlan so I ran the following command and changed the service console to the correct VLAN ID:

<esxcfg-vswitch vSwitch0 -p "Service Console" -v 102> 102 being the correct Vlan id..

Thanks again for your help.

0 Kudos
oreeh
Immortal
Immortal

FYI: this thread has been moved to the ESX 3.5 Configuration forum.

Oliver Reeh[/i]

[VMware Communities User Moderator|http://communities.vmware.com/docs/DOC-2444][/i]

0 Kudos