Skip to content

Commit c2883aa

Browse files
authored
Import x/net/crypto/ssh with alias gossh
1 parent 6dcd535 commit c2883aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ssh.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package ssh
22

33
import (
44
"crypto/subtle"
5-
"golang.org/x/crypto/ssh"
5+
gossh "golang.org/x/crypto/ssh"
66
"net"
77
)
88

@@ -41,7 +41,7 @@ type PublicKeyHandler func(ctx Context, key PublicKey) bool
4141
type PasswordHandler func(ctx Context, password string) bool
4242

4343
// KeyboardInteractiveHandler is a callback for performing keyboard-interactive authentication.
44-
type KeyboardInteractiveHandler func(ctx Context, challenger ssh.KeyboardInteractiveChallenge) bool
44+
type KeyboardInteractiveHandler func(ctx Context, challenger gossh.KeyboardInteractiveChallenge) bool
4545

4646
// PtyCallback is a hook for allowing PTY sessions.
4747
type PtyCallback func(ctx Context, pty Pty) bool

0 commit comments

Comments
 (0)