Log shell

This commit is contained in:
Viktor Liu
2025-10-28 18:15:53 +01:00
parent e6854dfd99
commit 576b4a779c
3 changed files with 16 additions and 5 deletions

View File

@@ -528,7 +528,7 @@ func (s *Server) connectionValidator(_ ssh.Context, conn net.Conn) net.Conn {
return nil
}
log.Infof("SSH connection from NetBird peer %s allowed", remoteIP)
log.Infof("SSH connection from NetBird peer %s allowed", tcpAddr)
return conn
}