SSH to ESXi via KLC

Problem:

If you are having a problem Authenticating when trying to SSH into an ESXi host after following the steps here under the Live Connect to SSH Assets section, see below.

Solution:

First, you must enable Password Authentication on the ESXi host by adding this line to /etc/ssh/sshd_config:

PasswordAuthentication yes

Then you need to restart the SSH daemon by using the command below:
/etc/init.d/SSH restart


To check all available authentication methods (from the ESXi host itself) use this command:
ssh -v hostname (Look for the PasswordAuthentication set to YES)
i.e - $ssh -v localhost 

Lastly, attempt to SSH via KLC again to the ESXi host. 


Applies to:

All KLC versions 9.4 and up

 

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Contact us