From 3813360d91ac861b7edd7ea7266ccfe3c48785e6 Mon Sep 17 00:00:00 2001 From: Andrey Petrov Date: Mon, 11 Feb 2019 15:21:56 -0500 Subject: [PATCH] cmd/ssh-chat: Set ServerVersion to include ssh-chat --- cmd/ssh-chat/cmd.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/ssh-chat/cmd.go b/cmd/ssh-chat/cmd.go index bfab292..218cfcd 100644 --- a/cmd/ssh-chat/cmd.go +++ b/cmd/ssh-chat/cmd.go @@ -108,6 +108,7 @@ func main() { auth := sshchat.NewAuth() config := sshd.MakeAuth(auth) config.AddHostKey(signer) + config.ServerVersion = "SSH-2.0-Go ssh-chat" s, err := sshd.ListenSSH(options.Bind, config) if err != nil {