diff --git a/sshd.go b/sshd.go index 3d612c6..410ddd2 100644 --- a/sshd.go +++ b/sshd.go @@ -134,7 +134,7 @@ func main() { allowedRemotePorts := sshConn.Permissions.CriticalOptions["remoteports"] if *verbose { - log.Printf("Connection from %s, %s (%s). Allowed local ports: %s remote ports: %s", client.Name, sshConn.RemoteAddr(), sshConn.ClientVersion(), allowedLocalPorts, allowedRemotePorts) + log.Printf("Connection from \"%s\", %s (%s). Allowed local ports: %s remote ports: %s", client.Name, sshConn.RemoteAddr(), sshConn.ClientVersion(), allowedLocalPorts, allowedRemotePorts) } // Parsing a second time should not error, so we can ignore the error