Check the auth.log or similar log file to see if its giving any ideas on why the connection is failing.
Richard. On Tuesday, August 20, 2013, Dolio D wrote: > I'm having this same issue, can't seem to find any solution to this > anywhere on the web or docs. > > On Tuesday, April 30, 2013 2:38:11 AM UTC-4, Sverre Moe wrote: >> >> Under Jenkins configuration I try to add a SSH site under SSH remote >> hosts. >> >> After adding the host, port, username and password I get the message >> "Can't connect to server". >> >> This ssh site is accessible from the machine Jenkins is running on. I >> have no problem connecting with ssh on the command line. >> >> I have also tried to create a jenkins user with same home directory on >> the ssh site and transfer jenkins public key onto its authorized_keys so >> that it does not need password to ssh. >> It gives that error message using jenkins or any other username on that >> ssh site. >> >> I get the same problem for adding a SCP site under SCP repository hosts. >> > -- > 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] <javascript:_e({}, > 'cvml', 'jenkinsci-users%[email protected]');>. > For more options, visit https://groups.google.com/groups/opt_out. > -- 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]. For more options, visit https://groups.google.com/groups/opt_out.
