jenkinssshjenkins-plugins

Jenkins ssh remote host connection fails


After upgrading Jenkins due to security information, the ssh remote host connection is not working anymore. The credentials (private keys) were migrated based on a update of the ssh credentials plugin, but i always get "Can't connect to server" error. I also tried to delete the old credentials and create new ones but this does not work. Did anyone of you experience the same error after updating the plugins?

Jenkins Version: 2.129

SSH Credentials Plugin: 1.14

SSH plugin: 2.6.1

enter image description here


Solution

  • I had the same issue while integrating with SSH server. I followed the below steps:

    I hope this will work.