Class SshConnector
- java.lang.Object
-
- com.oracle.cloud.baremetal.jenkins.ssh.SshConnector
-
public class SshConnector extends Object
-
-
Constructor Summary
Constructors Constructor Description SshConnector()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static com.trilead.ssh2.ConnectionInfo
connect(com.trilead.ssh2.Connection conn, int timeoutMillis, String verificationStrategy)
static com.trilead.ssh2.Connection
createConnection(String host, int port)
-
-
-
Method Detail
-
createConnection
public static com.trilead.ssh2.Connection createConnection(String host, int port) throws IOException, InterruptedException
- Throws:
IOException
InterruptedException
-
connect
public static com.trilead.ssh2.ConnectionInfo connect(com.trilead.ssh2.Connection conn, int timeoutMillis, String verificationStrategy) throws IOException
- Throws:
IOException
-
-