Skip to content

Commit

Permalink
display client ip in verbose server logs (closes #233)
Browse files Browse the repository at this point in the history
  • Loading branch information
jpillora committed Jan 13, 2021
1 parent 87675c4 commit c410372
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/server_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ func (s *Server) handleWebsocket(w http.ResponseWriter, req *http.Request) {
}
conn := cnet.NewWebSocketConn(wsConn)
// perform SSH handshake on net.Conn
l.Debugf("Handshaking...")
l.Debugf("Handshaking with %s...", req.RemoteAddr)
sshConn, chans, reqs, err := ssh.NewServerConn(conn, s.sshConfig)
if err != nil {
s.Debugf("Failed to handshake (%s)", err)
Expand Down

0 comments on commit c410372

Please sign in to comment.