mirror of
https://github.com/tmate-io/tmate.git
synced 2025-03-11 05:29:09 +01:00
improve err msg
This commit is contained in:
parent
fc46660c96
commit
55e6a774a8
@ -287,7 +287,7 @@ static void on_session_event(struct tmate_ssh_client *client)
|
||||
!client->tried_passphrase)
|
||||
request_passphrase(client);
|
||||
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;
|
||||
case SSH_AUTH_ERROR:
|
||||
reconnect_session(client, "Auth error: %s",
|
||||
|
Loading…
Reference in New Issue
Block a user