We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f0842a commit 44e78b2Copy full SHA for 44e78b2
ssh/client_auth.go
@@ -146,6 +146,11 @@ func (n *noneAuth) method() string {
146
return "none"
147
}
148
149
+// None return an AuthMethod using "none" authentication defined in RFC 4252 section 5.2.
150
+func None() AuthMethod {
151
+ return new(noneAuth)
152
+}
153
+
154
// passwordCallback is an AuthMethod that fetches the password through
155
// a function call, e.g. by prompting the user.
156
type passwordCallback func() (password string, err error)
0 commit comments