diff options
author | Runxi Yu <me@runxiyu.org> | 2025-02-20 12:33:21 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-02-20 12:33:21 +0800 |
commit | 3423f1ef3633257236d01577c9c2ee5f485c8cb7 (patch) | |
tree | a7c0be233f3ff3ab4020e09bd870b7879a09c75b /ssh_server.go | |
parent | ssh/recv: Check hooksPath before receiving packs (diff) | |
download | forge-3423f1ef3633257236d01577c9c2ee5f485c8cb7.tar.gz forge-3423f1ef3633257236d01577c9c2ee5f485c8cb7.tar.zst forge-3423f1ef3633257236d01577c9c2ee5f485c8cb7.zip |
all: Reformat
Diffstat (limited to 'ssh_server.go')
-rw-r--r-- | ssh_server.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ssh_server.go b/ssh_server.go index c1eac47..f6cb542 100644 --- a/ssh_server.go +++ b/ssh_server.go @@ -42,7 +42,7 @@ func serve_ssh(listener net.Listener) error { } clog.Info("Incoming SSH: " + session.RemoteAddr().String() + " " + client_public_key_string + " " + session.RawCommand()) - fmt.Fprintln(session.Stderr(), ansiec.Blue + "Lindenii Forge "+VERSION+", source at "+strings.TrimSuffix(config.HTTP.Root, "/")+"/:/source/" + ansiec.Reset + "\r") + fmt.Fprintln(session.Stderr(), ansiec.Blue+"Lindenii Forge "+VERSION+", source at "+strings.TrimSuffix(config.HTTP.Root, "/")+"/:/source/"+ansiec.Reset+"\r") cmd := session.Command() |