VMware Cloud Community
lance_wysong
Contributor
Contributor
Jump to solution

Cannot Access SSH have tried everything!

Here's what i've done both from the web client and thick client

SSH is enabled.  I can't uncheck it , recheck it, change it.  I get an error saying "cannot change the host configuration"

Firewall is disabled - all ports are open

Tried to telnet to port 22 - says it's not open

Used Putty command , won't let me access it says "network error, connection refused"

I do know this is a new host then the other 3, and the cluster is in EVC mode.  I might have to physically go to the box in the datacenter .

I even raised the MTU settings to 1600

Any suggestions would be great. 

Reply
0 Kudos
1 Solution

Accepted Solutions
lance_wysong
Contributor
Contributor
Jump to solution

I found out that Cisco UCS Manager and the KMV portion was setup.  I got on the ESXi console , went to troubleshooting, Enable ESXi Shell and SSH, restarted the management services.

Tried putty and it now works. 

---------------------------------------------------------------------------------------------------------

Was it helpful? Let us know by completing this short survey here.

View solution in original post

Reply
0 Kudos
5 Replies
vXav
Expert
Expert
Jump to solution

Are the client and server on the same subnet or going via a firewall that could be blocking port 22?

Can you reach other hosts on port 22 on the same subnet?

Is it possible to reboot the host?

Reply
0 Kudos
Saravananyuvar2
Contributor
Contributor
Jump to solution

Firewall configurations are fine in the vcenter.

Please select the ESXi host which you want to enable the ssh service and start it.

select host -> configure -> services -> right hand pane -> ssh -> start

you might miss starting the service

go to ILO or cisco depends on your configuration start the ssh services still doesnt work restart the server.

after restart also the ssh not works then there is configuration issue with ssh in the esxi.

Reply
0 Kudos
RajeevVCP4
Expert
Expert
Jump to solution

Did you try by root

connect direct by root and try restart service

Rajeev Chauhan
VCIX-DCV6.5/VSAN/VXRAIL
Please mark help full or correct if my answer is use full for you
Reply
0 Kudos
lance_wysong
Contributor
Contributor
Jump to solution

No, it's not possible to reboot the host at this time.  I"m trying to resolve an error that includes a boot LUN error.  I have sucessfully cleared the error on the 3 hosts via SSH. 

Firewall is disabled , all other hosts I am able SSH into via port 22.

Reply
0 Kudos
lance_wysong
Contributor
Contributor
Jump to solution

I found out that Cisco UCS Manager and the KMV portion was setup.  I got on the ESXi console , went to troubleshooting, Enable ESXi Shell and SSH, restarted the management services.

Tried putty and it now works. 

---------------------------------------------------------------------------------------------------------

Was it helpful? Let us know by completing this short survey here.

Reply
0 Kudos