improve err msg

This commit is contained in:
Nicolas Viennot
2015-12-31 18:21:02 -05:00
parent fc46660c96
commit 55e6a774a8

View File

@ -287,7 +287,7 @@ static void on_session_event(struct tmate_ssh_client *client)
!client->tried_passphrase) !client->tried_passphrase)
request_passphrase(client); request_passphrase(client);
else else
kill_session(client, "Access denied. Check your SSH keys."); kill_session(client, "SSH keys not found. Run 'ssh-keygen' to create keys and try again.");
return; return;
case SSH_AUTH_ERROR: case SSH_AUTH_ERROR:
reconnect_session(client, "Auth error: %s", reconnect_session(client, "Auth error: %s",