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 5b6cc70 commit 866d0ddCopy full SHA for 866d0dd
server.go
@@ -130,6 +130,7 @@ func (srv *Server) config(ctx Context) *gossh.ServerConfig {
130
}
131
if srv.KeyboardInteractiveHandler != nil {
132
config.KeyboardInteractiveCallback = func(conn gossh.ConnMetadata, challenger gossh.KeyboardInteractiveChallenge) (*gossh.Permissions, error) {
133
+ applyConnMetadata(ctx, conn)
134
if ok := srv.KeyboardInteractiveHandler(ctx, challenger); !ok {
135
return ctx.Permissions().Permissions, fmt.Errorf("permission denied")
136
0 commit comments