mirror of
https://github.com/tmate-io/tmate.git
synced 2026-07-28 13:23:50 +00:00
Better error message when SSH keys are not setup
This commit is contained in:
parent
80f9e84b83
commit
8f19552af0
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue