Package JSSHTerminal
Class JSchSession
java.lang.Object
JSSHTerminal.JSchSession
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
dispose()
com.jcraft.jsch.Session
static JSchSession
getSession
(String username, String password, String hostname, int port, com.jcraft.jsch.UserInfo userinfo, com.jcraft.jsch.Proxy proxy) static boolean
isAuthenticationFailure
(com.jcraft.jsch.JSchException ee) static void
-
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
-