Retrospect Virtual - Error: "Cannot connect SSH, please check SSH settings" with ESXi 6.0 Update 2


ESXi 6.0 update 2 uses OpenSSH 7.1 has one of our encryption algorithms disabled by default. To remedy this error the encryption algorithm, "diffie-hellman-group1-sha1", must be enabled.

This can be done via the following steps

  1. Login to ESXi console

  2. Go to ssh config directory

    cd /etc/ssh
  3. Backup existing config

    cp sshd_config sshd_config.bak
  4. Edit config

    vi sshd_config
  5. Add the following line into file and save

    KexAlgorithms +diffie-hellman-group1-sha1
  6. Restart SSH service

    /etc/init.d/SSH restart

Now that the "diffie-hellman-group1-sha1" algorithm has been enabled, you should no longer encounter errors when connecting to your ESXi host.

Last Update: 23 Giu 2017