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,