mirror of
https://github.com/shazow/ssh-chat.git
synced 2026-11-16 02:42:42 +03:00
cmd/ssh-chat: Set ServerVersion to include ssh-chat
This commit is contained in:
1 parent
81d7e16862
commit
3813360d91
1 file changed
+1
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user