ssh/tailssh: start sending the server version

Updates #3802

Signed-off-by: Maisem Ali <maisem@tailscale.com>
This commit is contained in:
Maisem Ali 2022-03-12 08:46:46 -08:00 committed by Maisem Ali
parent bf3559171f
commit 462e75666b
1 changed files with 1 additions and 0 deletions

View File

@ -67,6 +67,7 @@ func (srv *server) newSSHServer() (*ssh.Server, error) {
ChannelHandlers: map[string]ssh.ChannelHandler{
"direct-tcpip": ssh.DirectTCPIPHandler,
},
Version: "SSH-2.0-Tailscale",
LocalPortForwardingCallback: srv.portForward,
}
for k, v := range ssh.DefaultRequestHandlers {