SSHImpl is a component which implements the secure shell protocol.
Try to connect to SSH server with the supplied username and password.
Connect will return boolean true on successfull connect or false if an error happens. When return value is false, LastError will contain the description of the error.
Receive data from the SSH connection.
Receive returns a string value with the data received or an empty string on error. In the later case LastError should contain the error description.
Closes the SSH connection.
Sends a string to the server.
Receive returns a boolean value. True indicates success and false failure. In the later case LastError should contain the error description.
Read only integer value representing version of SSH protocol negociated on connect. Possible values are:
Read only integer property representing the algorithm, negociated during SSL handshake, which will be used by the client to encrypt communication data. Possible values are:
Read only integer property representing the algorithm, negociated during SSL handshake, which will be used by the server to encrypt communication data. Possible values are the same as for EncryptionAlgorithmClientToServer.
Hash algorithm negociated on connect used by the client.
Hash algorithm negociated on connect used by the server.
Read only integer property specifying the public key algorithm that was used during the SSH handshake. Possible values are:
Read only string property representing the MD5 hash of the server's public key.
Read only string property with the error details of the last unsuccessful operation.
Read and write string property representing the username to be used on login.
Read and write string property representing the password to be used on login.
Read and write string property representing the host, script should connect to.
Read and write integer property representing the port of the host, script should connect to.
Read and write integer property representing the number of milliseconds after which an operation is considered unsuccessful. If this value is 0 operations will not be timeouted.
Read only string property which after a Receive operation contains last data string from stderr.
Read only boolean value indicating the state of the connection. Value true means the client is connected.
Read only boolean value containing true if client has successfully connected or false if the authentication was unsiccessful.