summaryrefslogtreecommitdiffhomepage
path: root/tempfork/gliderlabs/ssh/server.go
diff options
context:
space:
mode:
Diffstat (limited to 'tempfork/gliderlabs/ssh/server.go')
-rw-r--r--tempfork/gliderlabs/ssh/server.go6
1 files changed, 0 insertions, 6 deletions
diff --git a/tempfork/gliderlabs/ssh/server.go b/tempfork/gliderlabs/ssh/server.go
index c9372c43c..934139e2c 100644
--- a/tempfork/gliderlabs/ssh/server.go
+++ b/tempfork/gliderlabs/ssh/server.go
@@ -38,8 +38,6 @@ type Server struct {
HostSigners []Signer // private keys for the host key, must have at least one
Version string // server version to be sent before the initial handshake
- NoClientAuthCallback func(gossh.ConnMetadata) (*gossh.Permissions, error)
-
KeyboardInteractiveHandler KeyboardInteractiveHandler // keyboard-interactive authentication handler
PasswordHandler PasswordHandler // password authentication handler
PublicKeyHandler PublicKeyHandler // public key authentication handler
@@ -131,10 +129,6 @@ func (srv *Server) config(ctx Context) *gossh.ServerConfig {
if srv.PasswordHandler == nil && srv.PublicKeyHandler == nil && srv.KeyboardInteractiveHandler == nil {
config.NoClientAuth = true
}
- if srv.NoClientAuthCallback != nil {
- config.NoClientAuth = true
- config.NoClientAuthCallback = srv.NoClientAuthCallback
- }
if srv.Version != "" {
config.ServerVersion = "SSH-2.0-" + srv.Version
}