diff options
author | Hendrik Meyer <t4cc0re@gitlab.com> | 2022-05-21 03:43:44 +0000 |
---|---|---|
committer | Igor Drozdov <idrozdov@gitlab.com> | 2022-05-21 03:43:44 +0000 |
commit | 09dd5bcbf0cbf59911e55972d52f6dc59ace122d (patch) | |
tree | 6219688cc2825755a6d45ec00f5946857fb7c763 /internal/sshd | |
parent | 1f89ece0aebb72e92c4e82760120ad32db62e268 (diff) | |
download | gitlab-shell-09dd5bcbf0cbf59911e55972d52f6dc59ace122d.tar.gz |
Introduce a GitLab-SSHD server version during handshake
Diffstat (limited to 'internal/sshd')
-rw-r--r-- | internal/sshd/server_config.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/sshd/server_config.go b/internal/sshd/server_config.go index 14aa470..bb7886c 100644 --- a/internal/sshd/server_config.go +++ b/internal/sshd/server_config.go @@ -103,6 +103,7 @@ func (s *serverConfig) get(ctx context.Context) *ssh.ServerConfig { }, }, nil }, + ServerVersion: "SSH-2.0-GitLab-SSHD", } if len(s.cfg.Server.MACs) > 0 { |