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)

Copyright (c) 2023 /n software inc. - All rights reserved.
IPWorks SSH 2020 iOS Edition - Version 20.0 [Build 8501]