Skip to content

Commit 60e5c9f

Browse files
author
Matthew Fisher
committed
Merge pull request #201 from bacongobbler/demote-failed-handshake-error
fix(pkg/sshd): demote handshake failure log to debug
2 parents 071d4a2 + 2a81369 commit 60e5c9f

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)