Class SshSessionPool


  • public class SshSessionPool
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      SshSessionPool()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      SshSession openSession​(java.lang.String host, int port, java.lang.String userName, char[] privateKey, char[] passphrase, char[] password, com.trilead.ssh2.auth.AgentProxy agentProxy, com.trilead.ssh2.ServerHostKeyVerifier verifier, int connectTimeout, int readTimeout)  
      void shutdown()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SshSessionPool

        public SshSessionPool()
    • Method Detail

      • shutdown

        public void shutdown()
      • openSession

        public SshSession openSession​(java.lang.String host,
                                      int port,
                                      java.lang.String userName,
                                      char[] privateKey,
                                      char[] passphrase,
                                      char[] password,
                                      com.trilead.ssh2.auth.AgentProxy agentProxy,
                                      com.trilead.ssh2.ServerHostKeyVerifier verifier,
                                      int connectTimeout,
                                      int readTimeout)
                               throws java.io.IOException
        Throws:
        java.io.IOException