golang.org/x/crypto/ssh.ServerConfig.PublicKeyCallback (field)
5 uses
golang.org/x/crypto/ssh (current package)
server.go#L91: PublicKeyCallback func(conn ConnMetadata, key PublicKey) (*Permissions, error)
server.go#L231: if !config.NoClientAuth && config.PasswordCallback == nil && config.PublicKeyCallback == nil &&
server.go#L489: if config.PublicKeyCallback == nil {
server.go#L523: candidate.perms, candidate.result = config.PublicKeyCallback(s, pubKey)
server.go#L641: if config.PublicKeyCallback != nil {
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |