IPWorks SSH 2020 Kotlin Edition

Questions / Feedback?

SSHLogon Method

Logon to the SSHHost using the current SSHUser and SSHPassword .

Syntax

public fun sshLogon(sshHost: String?, sshPort: Int)

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) 2021 /n software inc. - All rights reserved.
IPWorks SSH 2020 Kotlin Edition - Version 20.0 [Build 7941]