cmd/ssh-chat: Set ServerVersion to include ssh-chat
This commit is contained in:
parent
81d7e16862
commit
3813360d91
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue