mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-29 04:55:31 +00:00
ssh/tailssh: add "ssh" to conn logs
Fixes #5089 Signed-off-by: Maisem Ali <maisem@tailscale.com>
This commit is contained in:
parent
480fd6c797
commit
3e06b9ea7a
@ -290,7 +290,7 @@ func (srv *server) newConn() (*conn, error) {
|
||||
srv.mu.Unlock()
|
||||
c := &conn{srv: srv}
|
||||
now := srv.now()
|
||||
c.connID = fmt.Sprintf("conn-%s-%02x", now.UTC().Format("20060102T150405"), randBytes(5))
|
||||
c.connID = fmt.Sprintf("ssh-conn-%s-%02x", now.UTC().Format("20060102T150405"), randBytes(5))
|
||||
c.Server = &ssh.Server{
|
||||
Version: "Tailscale",
|
||||
Handler: c.handleSessionPostSSHAuth,
|
||||
|
Loading…
Reference in New Issue
Block a user