Ping Method
Sends a keep-alive request to the SSH server.
Syntax
public fun ping()
Remarks
Use this method to send a keep-alive message to the SSH server. Keep-alive messages are empty data packets which carry no useful information but are a handy way of checking if the connection is still alive.