unable to connect to slave on Ubuntu 12.03 desktop

49 views
Skip to first unread message

Ginga, Dick

unread,
Apr 7, 2015, 5:01:05 PM4/7/15
to jenkins...@googlegroups.com

I have a windows Jenkins server and a week or so ago I succeeded in connecting an Ubuntu 14.04 Server slave without any problem. Now I am trying to connect a 12.04 desktop and I get below. I keep thinking I am forgetting some stpe I did but its not coming to me. Please help.

 

[04/07/15 16:47:35] [SSH] Opening SSH connection to 165.88.210.99:22.
Connection refused: connect
ERROR: Unexpected error in launching a slave. This is probably a bug in Jenkins.
java.lang.IllegalStateException: Connection is not established!
        at com.trilead.ssh2.Connection.getRemainingAuthMethods(Connection.java:1030)
        at com.cloudbees.jenkins.plugins.sshcredentials.impl.TrileadSSHPasswordAuthenticator.canAuthenticate(TrileadSSHPasswordAuthenticator.java:82)
        at com.cloudbees.jenkins.plugins.sshcredentials.SSHAuthenticator.newInstance(SSHAuthenticator.java:207)
        at com.cloudbees.jenkins.plugins.sshcredentials.SSHAuthenticator.newInstance(SSHAuthenticator.java:169)
        at hudson.plugins.sshslaves.SSHLauncher.openConnection(SSHLauncher.java:1230)
        at hudson.plugins.sshslaves.SSHLauncher$2.call(SSHLauncher.java:696)
        at hudson.plugins.sshslaves.SSHLauncher$2.call(SSHLauncher.java:691)
        at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
        at java.util.concurrent.FutureTask.run(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
[04/07/15 16:47:36] Launch failed - cleaning up connection
[04/07/15 16:47:36] [SSH] Connection closed.

http://jenkinsserver.perkinelmer.net:8082/static/0ebc5907/images/spinner.gif

 

 

Dick Ginga, Informatics R&D

PerkinElmer Inc. | For the Better
HUMAN HEALTH | ENVIRONMENTAL HEALTH
940 Winter Street, Waltham MA 02451

 

dick.ginga@perkinelmer.com  

Mobile – 508-847-1434

Office – 781-663-6947

 

Marius Gedminas

unread,
Apr 8, 2015, 2:55:33 AM4/8/15
to jenkins...@googlegroups.com
On Tue, Apr 07, 2015 at 09:00:05PM +0000, Ginga, Dick wrote:
> I have a windows Jenkins server and a week or so ago I succeeded in
> connecting an Ubuntu 14.04 Server slave without any problem. Now I am
> trying to connect a 12.04 desktop and I get below. I keep thinking I
> am forgetting some stpe I did but its not coming to me. Please help.
>
>
> [04/07/15 16:47:35] [SSH] Opening SSH connection to 165.88.210.99:22.
>
> Connection refused: connect

Do you have the openssh-server package installed on your Ubuntu 12.04
desktop you're connecting to?

Marius Gedminas
--
When in danger, or in doubt, run in circles, scream and shout.
-- Robert A. Heinlein
signature.asc

Ginga, Dick

unread,
Apr 8, 2015, 8:33:48 AM4/8/15
to jenkins...@googlegroups.com
That was the step I forgot! Thanks. I had run ssh-agent -s but that was not right. Thanks again
--
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/20150408065408.GA2479%40platonas.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages