mirror of
https://github.com/tmate-io/tmate.git
synced 2025-02-04 12:29:31 +01:00
Better error message when SSH keys are not setup
This commit is contained in:
parent
80f9e84b83
commit
8f19552af0
@ -179,7 +179,7 @@ static void on_session_event(struct tmate_ssh_client *client)
|
||||
case SSH_AUTH_PARTIAL:
|
||||
case SSH_AUTH_INFO:
|
||||
case SSH_AUTH_DENIED:
|
||||
disconnect_session(client, "Access denied. Try again later.");
|
||||
disconnect_session(client, "Access denied. Check your SSH keys.");
|
||||
return;
|
||||
case SSH_AUTH_ERROR:
|
||||
reconnect_session(client, "Auth error: %s",
|
||||
|
Loading…
Reference in New Issue
Block a user