Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

SSH.SessionHandshake

Perform the SSH handshake.

Component Version macOS Windows Linux Server iOS SDK
SSH 6.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "SSH.SessionHandshake"; SSH )   More

Parameters

Parameter Description Example
SSH The SSH session reference number from the plugin. $ssh

Result

Returns OK or error.

Description

Perform the SSH handshake.
You may want to set timeout with SSH.SetTimeout function.

Examples

Do session handshake:

Set Variable [$r; Value:MBS( "SSH.SessionHandshake"; $ssh)]
If [MBS("IsError")]
    Show Custom Dialog ["Connect error"; $r]
End if

See also

Example Databases

This function checks for a license.

Created 29th May 2016, last changed 4th December 2019


SSH.SendEOF - SSH.SetEnv