Troubleshooting SSH Connections

If you are having issues connecting to the target host via SSH, the issue could be incorrect authentication method setup on the target host. This can be fixed by changing the "PreferredAuthentications" key in the Application Configuration file, which contains a list of preferred authentication methods.

The default values are "gssapi-with-mic,hostbased,keyboard-interactive,publickey,password" (gssapi-with-mic and hostbased are not currently supported and are included for future updates). Removing or reordering methods in this list can resolve connection issue. Possible solutions include: 

  • Placing the password before other methods such as: "gssapi-with-mic,hostbased,password,keyboard-interactive,publickey"

  • Removing other methods completely such as: "gssapi-with-mic,hostbased,password"

Please note that these settings affect all the SSH hosts connected through Connection Manager. Therefore, removing an authentication method (for example "publickey") will make all hosts with the "publickey" access-only method unreachable.