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 <https://issues.jenkins-ci.org/browse/JENKINS-42856?focusedCommentId=355486&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-355486> for the details. On Sat, Dec 29, 2018 at 8:47 AM Poovaraj Thangamariappan < [email protected]> wrote: > 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:-* > > [image: Remote Agenet Connectivity Issue.PNG] > > *Configuration :-* > > [image: Jenkins Remote Agent Connectivy Config 1.PNG] > > [image: Jenkins Remote Agent Connectivy Config 2.PNG] > -- > > Regards, > Poovaraj > > > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/CAMu9-ZUkd-6W4bbGSbxDadX0UsV6qKJ2q57ja4MBeSKOvpum-w%40mail.gmail.com > <https://groups.google.com/d/msgid/jenkinsci-users/CAMu9-ZUkd-6W4bbGSbxDadX0UsV6qKJ2q57ja4MBeSKOvpum-w%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Thanks! Mark Waite -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtF64Pi-QKCyMpz5o0f83_CSfMrLBSuiPCEb-NAhnQWQHg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
