mirror of
https://github.com/shazow/ssh-chat.git
synced 2025-04-12 15:17:16 +03:00
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…
x
Reference in New Issue
Block a user