From efcb8507fb706dc09498bdd32b7aafa38228fc86 Mon Sep 17 00:00:00 2001 From: cuishuang Date: Mon, 7 Mar 2022 15:51:16 +0000 Subject: [PATCH] ssh: fix typo Change-Id: I5832916eb921d2d18e3082cd04520e22e2b04127 GitHub-Last-Rev: c0999b83439a5f0ff57b740c18f47d81028e552a GitHub-Pull-Request: golang/crypto#207 Reviewed-on: https://go-review.googlesource.com/c/crypto/+/390414 Reviewed-by: Roland Shoemaker Trust: Carlos Amedee Run-TryBot: Ian Lance Taylor TryBot-Result: Gopher Robot --- ssh/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ssh/server.go b/ssh/server.go index 8e01365..bf5364c 100644 --- a/ssh/server.go +++ b/ssh/server.go @@ -634,7 +634,7 @@ userAuthLoop: authFailures++ if config.MaxAuthTries > 0 && authFailures >= config.MaxAuthTries { - // If we have hit the max attemps, don't bother sending the + // If we have hit the max attempts, don't bother sending the // final SSH_MSG_USERAUTH_FAILURE message, since there are // no more authentication methods which can be attempted, // and this message may cause the client to re-attempt