Functions
Link copied to clipboard
Create an SshClient from a configuration.
operator fun invoke(transportFactory: TransportFactory, hostKeyVerifier: HostKeyVerifier, clientVersion: String = "SSH-2.0-CBSSH_1.0"): SshClient
Create an SshClient with a custom transport factory.
operator fun invoke(host: String, hostKeyVerifier: HostKeyVerifier, port: Int = 22, clientVersion: String = "SSH-2.0-CBSSH_1.0"): SshClient
Create an SshClient for TCP connection to the specified host.