SSHLogon (method)
Logon to the SSHHost using the current SSHUser and SSHPassword .
Syntax
- (void)SSHLogon:(NSString*)SSHHost :(int)SSHPort;
public func SSHLogon(_ SSHHost: String, _ SSHPort: Int32) throws -> Void
Remarks
Logon to the SSH server using the current SSHUser and SSHPassword. This will perform the SSH handshake and authentication.
Example (Logging On)
SSHClient.SSHUser = "username" SSHClient.SSHPassword = "password" SSHClient.SSHLogon("sshHost", sshPort)