Package core.apiCore.helpers
Class ConnectionHelper
- java.lang.Object
-
- core.apiCore.helpers.ConnectionHelper
-
public class ConnectionHelper extends Object
-
-
Constructor Summary
Constructors Constructor Description ConnectionHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidsetPortForwarding(com.jcraft.jsch.Session session)static voidsshConnect()ssh connection supports port forwarding as well if host is empty, Then return if rhost is empty, return for port forwarding
-
-
-
Method Detail
-
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
-
-