SSH Connection failed with IOException: "Connection timed out (Connection timed out)" - Jenkins Remote Agent Connectivity

432 views
Skip to first unread message

Poovaraj Thangamariappan

unread,
Dec 29, 2018, 10:47:27 AM12/29/18
to Jenkins User Group
Hi,

Jenkins is not connecting remote agent through SSH. It is showing below error message. Can you please help me to fix this?

Error Message:-

Remote Agenet Connectivity Issue.PNG

Configuration :-

Jenkins Remote Agent Connectivy Config 1.PNG

Jenkins Remote Agent Connectivy Config 2.PNG
--

Regards,
Poovaraj


Mark Waite

unread,
Dec 29, 2018, 11:21:13 AM12/29/18
to Jenkins Users
Some things you might check (based on the connection timeout error message):
  • Is the OpenSSH server feature installed on the Windows Server that you're connecting? (Windows -> Manage Features)
  • Is the OpenSSH server enabled on the Windows Server? (Windows -> Services)
  • Is the OpenSSH network port (22) accessible on the Windows Server from the Jenkins master?  (Try 'ssh localhost' from a command prompt on the Windows server, then 'ssh your-server-name' from another host)
Once you've confirmed that those things are correct and working as expected, then you might try the workaround that I used to connect a Windows agent to a Jenkins master using ssh.  Refer to my comment in JENKINS-42856 for the details.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAMu9-ZUkd-6W4bbGSbxDadX0UsV6qKJ2q57ja4MBeSKOvpum-w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


--
Thanks!
Mark Waite
Reply all
Reply to author
Forward
0 new messages