Tweak the SSH MOTD a bit

This commit is contained in:
Justin Crawford
2019-10-03 22:16:29 -07:00
parent 0e05bb61bc
commit 3e45f7ebf4
4 changed files with 56 additions and 51 deletions

View File

@@ -42,8 +42,6 @@ public class PublicKeyAuthenticator implements PublickeyAuthenticator
// Validate that the logging in user has the same valid SSH key
if (auth.authenticate(username, key, session))
{
SshdPlugin.instance.getLogger().info(
username + " successfully authenticated via SSH session using key file " + keyFile.getAbsolutePath());
FailCounts.put(username, 0);
return true;
}