check SSH connection/authentication