Hi There,

I am trying to set up a master / Slave in Jenkins using an AWS EC2 
instances. I have created an shh-keygen and copied contents of an 
id_rsa.pub file in slave's .ssh/authorized_keys.
When I am trying to add node (slave node) using Master's .ssh key 
configuration, the connection is getting failed with the error below. Is 
there any expert can help me?

[02/04/18 20:52:58] [SSH] Opening SSH connection to 37.178.39.69:22.
Connection timed out (Connection timed out)
SSH Connection failed with IOException: "Connection timed out (Connection timed 
out)".
java.io.IOException: There was a problem while connecting to 37.178.39.69:22
        at com.trilead.ssh2.Connection.connect(Connection.java:834)
        at 
hudson.plugins.sshslaves.SSHLauncher.openConnection(SSHLauncher.java:1313)
        at hudson.plugins.sshslaves.SSHLauncher$2.call(SSHLauncher.java:821)
        at hudson.plugins.sshslaves.SSHLauncher$2.call(SSHLauncher.java:810)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
Caused by: java.net.ConnectException: Connection timed out (Connection timed 
out)
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at 
java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
        at 
java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
        at 
java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
        at java.net.Socket.connect(Socket.java:589)
        at 
com.trilead.ssh2.transport.TransportManager.establishConnection(TransportManager.java:367)
        at 
com.trilead.ssh2.transport.TransportManager.initialize(TransportManager.java:480)
        at com.trilead.ssh2.Connection.connect(Connection.java:774)



-- 
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/096443ea-101f-4839-893f-88adadcb66aa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to