From 598c7a22e7b1714cde6afc74af8077a2ddde8cf1 Mon Sep 17 00:00:00 2001 From: Maisem Ali Date: Tue, 8 Mar 2022 22:11:31 -0800 Subject: [PATCH] ssh/tailssh: use lu.Username not lu.Name. Signed-off-by: Maisem Ali --- ssh/tailssh/incubator.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ssh/tailssh/incubator.go b/ssh/tailssh/incubator.go index e5b324bb5..1e54c0e55 100644 --- a/ssh/tailssh/incubator.go +++ b/ssh/tailssh/incubator.go @@ -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,