This function tests an SSH connection to another server.
HTTP Request was successful.
object | |
object |
whmapi1 --output=jsonpretty \ check_remote_ssh_connection \ host='example.com'
{- "data": {
- "comment": "null",
- "protocol_versions": [
- "2.0"
], - "received": "SSH-2.0-OpenSSH_5.3",
- "server_software": "OpenSSH_5.3"
}, - "metadata": {
- "command": "check_remote_ssh_connection",
- "reason": "OK",
- "result": 1,
- "version": 1
}
}