类 SshClientProvider
- java.lang.Object
-
- tech.testnx.cah.common.net.ssh.SshClientProvider
-
public class SshClientProvider extends Object
- 作者:
- Yun
-
-
构造器概要
构造器 构造器 说明 SshClientProvider()
-
方法概要
所有方法 静态方法 具体方法 修饰符和类型 方法 说明 static <T extends HasSshTunnel & HasSshExec>
Tprovide(String sshServerHost, int sshServerPort, String userName, String password)Provide a SSH client based on configurationstatic <T extends HasSshTunnel & HasSshExec>
Tprovide(String sshServerHost, int sshServerPort, String userName, Path privateKeyPath)Provide a SSH client based on configurationstatic <T extends HasSshTunnel & HasSshExec>
Tprovide(String sshServerHost, String userName, String password)Provide a SSH client based on configurationstatic <T extends HasSshTunnel & HasSshExec>
Tprovide(String sshServerHost, String userName, Path privateKeyPath)Provide a SSH client based on configuration
-
-
-
方法详细资料
-
provide
public static <T extends HasSshTunnel & HasSshExec> T provide(String sshServerHost, int sshServerPort, String userName, String password)
Provide a SSH client based on configuration
-
provide
public static <T extends HasSshTunnel & HasSshExec> T provide(String sshServerHost, String userName, String password)
Provide a SSH client based on configuration
-
provide
public static <T extends HasSshTunnel & HasSshExec> T provide(String sshServerHost, int sshServerPort, String userName, Path privateKeyPath)
Provide a SSH client based on configuration
-
provide
public static <T extends HasSshTunnel & HasSshExec> T provide(String sshServerHost, String userName, Path privateKeyPath)
Provide a SSH client based on configuration
-
-