Skip to content

Commit 2a81369

Browse files
author
Matthew Fisher
committed
fix(pkg/sshd): demote handshake failure log to debug
It's okay for connections to probe the server without initiating a handshake, but it's still useful for developers to see when incoming connections are not connecting.
1 parent 707fbea commit 2a81369

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/sshd/server.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ func (s *server) handleConn(conn net.Conn, conf *ssh.ServerConfig) {
135135
_, chans, reqs, err := ssh.NewServerConn(conn, conf)
136136
if err != nil {
137137
// Handshake failure.
138-
log.Errf(s.c, "Failed handshake: %s (%v)", err, conn)
138+
log.Debugf(s.c, "Failed handshake: %s", err)
139139
return
140140
}
141141

0 commit comments

Comments
 (0)