VMware Cloud Community
baalu8289
Contributor
Contributor

Not able to ssh esxi5.0 host

Hi Can you please help me on this issue.

I have enabled SSH,disabled lockdown mode, i am still not able to ssh  as a root user. when i tried, i seen the following error.

It' is asking me like

login as:  root    after hiting enter  its not going anywhere, just showing the following error after few seconds.

"server unexpectedly closed network connection"

Reply
0 Kudos
9 Replies
aravinds3107
Virtuoso
Virtuoso

Are you able to login through DUCI and vSphere Client using root account?

Try restarting the management agent and check SSH.

If you find this or any other answer useful please consider awarding points by marking the answer correct or helpful |Blog: http://aravindsivaraman.com/ | Twitter : ss_aravind
Reply
0 Kudos
MagnetBoy
Enthusiast
Enthusiast

how is your network configuration?

how many vSwitches, # of vmnics per vSwitch, where is the management network's vmkernel port, etc?

VMware Certified Professional – Datacenter Virtualization (vSphere 5)
Reply
0 Kudos
rickardnobel
Champion
Champion

baalu8289 wrote:

I have enabled SSH,disabled lockdown mode, i am still not able to ssh  as a root user.

You did have Lockdown mode enabled before?

Are the host a member of an Active Directory domain? Could you access SSH with a user with membership in the ESX Admins group?

My VMware blog: www.rickardnobel.se
Reply
0 Kudos
nava_thulasi39

Hi,

Have you checked the ESXi Firewall? Is firewall blocks the SSH protocol?  (by default -yes).

Is it issue with just root account? or some other account too..

If you find this or any other answer useful please consider awarding points by marking the answer correct or helpful
Reply
0 Kudos
UmeshAhuja
Commander
Commander

Hi,

Is ssh is working locally on the server's console? by  'ssh root@servername' on the server itself?

Thanks n Regards
Umesh Ahuja

If your query resolved then please consider awarding points by correct or helpful marking.
Reply
0 Kudos
baalu8289
Contributor
Contributor

Thank you for your response, i am able to connect via vClient,locally to the ESXi shell. i tried by restarting management agent, still the issue not resolved yet.

Reply
0 Kudos
nielse
Expert
Expert

Can you do ssh -vvvv root@esxihostip and post the output?

@nielsengelen - http://foonet.be - VCP4/5
Reply
0 Kudos
baalu8289
Contributor
Contributor

One vSwitch, 4 vmnics and  where can i look for management vmkernal port is located on the same vSwitch.

Reply
0 Kudos
rickardnobel
Champion
Champion

As you get a connection and logon prompt through remote SSH the service should be running and the firewall be running. It is like the Lockdown mode is still running..

My VMware blog: www.rickardnobel.se
Reply
0 Kudos