go.mod, ssh/tailssh: fix ImplictAuthMethod typo

Fixes #5745

Change-Id: Ie8bc88bd465a9cb35b0ae7782d61ce96480473ee
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
Brad Fitzpatrick
2022-10-04 19:38:47 -07:00
committed by Brad Fitzpatrick
parent fde20f3403
commit b1bd96f114
3 changed files with 4 additions and 4 deletions

View File

@@ -269,7 +269,7 @@ func (c *conn) checkAuth(pubKey ssh.PublicKey) error {
func (c *conn) ServerConfig(ctx ssh.Context) *gossh.ServerConfig {
return &gossh.ServerConfig{
// OpenSSH presents this on failure as `Permission denied (tailscale).`
ImplictAuthMethod: "tailscale",
ImplicitAuthMethod: "tailscale",
NoClientAuth: true, // required for the NoClientAuthCallback to run
NoClientAuthCallback: c.NoClientAuthCallback,
}