Test an SSH connection without creating a tunnel. Returns success/failure with detailed error message. On success, returns a test token that must be used when creating the tunnel. This ensures the connection is tested before saving.
Why the test failed, written for the operator (for example a changed host key, a key that is not authorized, a host that cannot be resolved or reached). It never carries the underlying library or storage error.
install_script_urlstring
successboolean
sudo_checked_atstring · date-time
sudo_errorstring
Why sudo cannot run the pg_hba.conf commands. Set only when the connection succeeded.
sudo_missing_commandsarray of string
sudo_modestring
sudo_okboolean
Whether the SSH user may run the pg_hba.conf commands with sudo. Absent when the connection failed.
test_tokenstring
Common errors: 400401403409413429503504. They mean the same for every operation, see Errors.