From 3d2054d00144a076a69e039bf17b9d25f328c046 Mon Sep 17 00:00:00 2001 From: Ayman Bagabas Date: Fri, 8 Mar 2024 13:16:59 -0500 Subject: [PATCH] fix: remove ssh server version (#249) --- wish.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/wish.go b/wish.go index 5718ae4..9584850 100644 --- a/wish.go +++ b/wish.go @@ -18,8 +18,6 @@ type Middleware func(next ssh.Handler) ssh.Handler // public key. func NewServer(ops ...ssh.Option) (*ssh.Server, error) { s := &ssh.Server{} - // Some sensible defaults - s.Version = "OpenSSH_7.6p1" for _, op := range ops { if err := s.SetOption(op); err != nil { return nil, err