Ask the Community
Groups
SSH to ESXi via KLC - Connect IT Community | Kaseya
<main> <article class="userContent"> <h2 data-id="problem">Problem:</h2> <p>If you are having a problem Authenticating when trying to SSH into an ESXi host after following the steps <a href="/home/leaving?allowTrusted=1&target=http%3A%2F%2Fhelp.kaseya.com%2Fwebhelp%2FEN%2FVSA%2F9050000%2FEN_LiveConnect_R95.pdf%23zoom%3D70%26navpanes%3D0" rel="noopener nofollow">here</a> under the <strong>Live Connect to SSH Assets</strong> section, see below.</p> <h2 data-id="solution">Solution:</h2> <p>First, you must enable Password Authentication on the ESXi host by adding this line to /etc/ssh/sshd_config:</p> <p><strong>PasswordAuthentication yes</strong></p> <p>Then you need to restart the SSH daemon by using the command below:<br><strong>/etc/init.d/SSH restart</strong></p> <p><img src="/attachments/token/UoyCyx2V12BFgbobdMlaITuxC/?name=inline-1630645761.png" alt="image" class="embedImage-img importedEmbed-img"></img><br>To check all available authentication methods (from the ESXi host itself) use this command:<br><strong>ssh -v hostname</strong> (<em>Look for the PasswordAuthentication set to YES)</em><br>i.e - <strong>$ssh -v </strong><strong>localhost </strong></p> <p>Lastly, attempt to SSH via KLC again to the ESXi host. </p> <p><br><strong>Applies to:</strong></p> <p>All KLC versions 9.4 and up</p> <p> </p> </article> </main>