ssh/tailssh: use lu.Username not lu.Name.

Signed-off-by: Maisem Ali <maisem@tailscale.com>
pull/4125/head
Maisem Ali 3 years ago committed by Maisem Ali
parent 06c147d848
commit 598c7a22e7

@ -65,7 +65,7 @@ func newIncubatorCommand(ctx context.Context, ci *sshConnInfo, lu *user.User, ta
"be-child",
"ssh",
"--uid=" + lu.Uid,
"--local-user=" + lu.Name,
"--local-user=" + lu.Username,
"--remote-user=" + remoteUser,
"--remote-ip=" + ci.src.IP().String(),
"--cmd=" + name,

Loading…
Cancel
Save