Package core.apiCore.helpers
Class ConnectionHelper
java.lang.Object
core.apiCore.helpers.ConnectionHelper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidsetPortForwarding(com.jcraft.jsch.Session session) static voidssh connection supports port forwarding as well if host is empty, Then return if rhost is empty, return for port forwarding
-
Constructor Details
-
ConnectionHelper
public ConnectionHelper()
-
-
Method Details
-
sshConnect
public static void sshConnect()ssh connection supports port forwarding as well if host is empty, Then return if rhost is empty, return for port forwarding -
setPortForwarding
public static void setPortForwarding(com.jcraft.jsch.Session session) throws com.jcraft.jsch.JSchException - Throws:
com.jcraft.jsch.JSchException
-