mirror of
https://github.com/tailscale/tailscale.git
synced 2025-08-11 21:27:31 +00:00
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:

committed by
Brad Fitzpatrick

parent
fde20f3403
commit
b1bd96f114
@@ -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,
|
||||
}
|
||||
|
Reference in New Issue
Block a user