mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-25 19:15:34 +00:00
ssh/tailssh: use lu.Username not lu.Name.
Signed-off-by: Maisem Ali <maisem@tailscale.com>
This commit is contained in:
parent
06c147d848
commit
598c7a22e7
@ -65,7 +65,7 @@ func newIncubatorCommand(ctx context.Context, ci *sshConnInfo, lu *user.User, ta
|
|||||||
"be-child",
|
"be-child",
|
||||||
"ssh",
|
"ssh",
|
||||||
"--uid=" + lu.Uid,
|
"--uid=" + lu.Uid,
|
||||||
"--local-user=" + lu.Name,
|
"--local-user=" + lu.Username,
|
||||||
"--remote-user=" + remoteUser,
|
"--remote-user=" + remoteUser,
|
||||||
"--remote-ip=" + ci.src.IP().String(),
|
"--remote-ip=" + ci.src.IP().String(),
|
||||||
"--cmd=" + name,
|
"--cmd=" + name,
|
||||||
|
Loading…
Reference in New Issue
Block a user