1
0
mirror of https://github.com/tmate-io/tmate-ssh-server.git synced 2020-11-18 19:53:51 -08:00

Better error message when SSH keys are not setup

This commit is contained in:
Nicolas Viennot 2013-06-14 23:10:24 -04:00
parent 80f9e84b83
commit 8f19552af0

View File

@ -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",