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 6dcd535 commit c2883aaCopy full SHA for c2883aa
ssh.go
@@ -2,7 +2,7 @@ package ssh
2
3
import (
4
"crypto/subtle"
5
- "golang.org/x/crypto/ssh"
+ gossh "golang.org/x/crypto/ssh"
6
"net"
7
)
8
@@ -41,7 +41,7 @@ type PublicKeyHandler func(ctx Context, key PublicKey) bool
41
type PasswordHandler func(ctx Context, password string) bool
42
43
// KeyboardInteractiveHandler is a callback for performing keyboard-interactive authentication.
44
-type KeyboardInteractiveHandler func(ctx Context, challenger ssh.KeyboardInteractiveChallenge) bool
+type KeyboardInteractiveHandler func(ctx Context, challenger gossh.KeyboardInteractiveChallenge) bool
45
46
// PtyCallback is a hook for allowing PTY sessions.
47
type PtyCallback func(ctx Context, pty Pty) bool
0 commit comments