mirror of
https://github.com/tmate-io/tmate.git
synced 2025-07-01 14:50:01 +02:00
improve err msg
This commit is contained in:
@ -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",
|
||||||
|
Reference in New Issue
Block a user