#include <network_ip_ssh.h>
This class handles SSH encrypted network connections.
Public Member Functions | |
MAXON_METHOD Result< void > | Init (const NetworkConnectionRef &connection, Bool blocking) |
MAXON_METHOD Result< void > | DoHandShake () |
MAXON_METHOD Result< void > | LogIn (const String &name, const String &password, SSH_CHANGE_PASSWORD_CALLBACK changePasswordCallback=nullptr) |
MAXON_METHOD LIBSSH2_SESSION * | GetSession () |
MAXON_METHOD const String & | GetFingerprint () const |
Private Member Functions | |
MAXON_INTERFACE (SSHNetworkConnectionInterface, MAXON_REFERENCE_NORMAL, "net.maxon.interface.sshnetworkconnection") | |
|
private |
MAXON_METHOD Result<void> Init | ( | const NetworkConnectionRef & | connection, |
Bool | blocking | ||
) |
MAXON_METHOD Result<void> DoHandShake | ( | ) |
MAXON_METHOD Result<void> LogIn | ( | const String & | name, |
const String & | password, | ||
SSH_CHANGE_PASSWORD_CALLBACK | changePasswordCallback = nullptr |
||
) |
MAXON_METHOD LIBSSH2_SESSION* GetSession | ( | ) |
MAXON_METHOD const String& GetFingerprint | ( | ) | const |
Gets the fingerprint of the server.