cmd/ssh-chat: Set ServerVersion to include ssh-chat

This commit is contained in:
Andrey Petrov 2019-02-11 15:21:56 -05:00
parent 81d7e16862
commit 3813360d91
1 changed files with 1 additions and 0 deletions

View File

@ -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 {