From 9ec46e0fe2975bcf7ad9514552036f0f513c18ec Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Fri, 14 Feb 2025 14:53:59 +0800 Subject: *_server.go: clog.Info instead of Debug for requests --- ssh_server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ssh_server.go') diff --git a/ssh_server.go b/ssh_server.go index b226b7c..b5882de 100644 --- a/ssh_server.go +++ b/ssh_server.go @@ -41,7 +41,7 @@ func serve_ssh(listener net.Listener) error { client_public_key_string = string(go_ssh.MarshalAuthorizedKey(client_public_key)) } - clog.Debug("Incoming SSH: " + session.RemoteAddr().String() + " " + strings.TrimSuffix(client_public_key_string, "\n") + " " + session.RawCommand()) + clog.Info("Incoming SSH: " + session.RemoteAddr().String() + " " + strings.TrimSuffix(client_public_key_string, "\n") + " " + session.RawCommand()) cmd := session.Command() -- cgit v1.2.3