Package JSSHTerminal

Class JSchSession

java.lang.Object
JSSHTerminal.JSchSession

public class JSchSession extends Object
  • Method Details

    • getSession

      public static JSchSession getSession(String username, String password, String hostname, int port, com.jcraft.jsch.UserInfo userinfo, com.jcraft.jsch.Proxy proxy) throws com.jcraft.jsch.JSchException
      Throws:
      com.jcraft.jsch.JSchException
    • getSession

      public com.jcraft.jsch.Session getSession()
    • dispose

      public void dispose()
    • isAuthenticationFailure

      public static boolean isAuthenticationFailure(com.jcraft.jsch.JSchException ee)
    • setSessionFactory

      public static void setSessionFactory(JSchSession.SessionFactory sf)