Skip to content

Commit

Permalink
Update fakessh.go
Browse files Browse the repository at this point in the history
  • Loading branch information
fffaraz committed Feb 4, 2024
1 parent 258fde4 commit 39ea596
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fakessh.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ func main() {

func passwordCallback(conn ssh.ConnMetadata, password []byte) (*ssh.Permissions, error) {
log.Println(conn.RemoteAddr(), string(conn.ClientVersion()), conn.User(), string(password))
time.Sleep(100 * time.Millisecond)
return nil, errBadPassword
}

Expand Down

0 comments on commit 39ea596

Please sign in to comment.