Skip to content

Commit

Permalink
tunnel: skip global sst check when spawning tunnel process
Browse files Browse the repository at this point in the history
  • Loading branch information
thdxr committed Oct 3, 2024
1 parent 1c3ac87 commit 35c2a29
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion cmd/sst/tunnel.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,11 @@ var CmdTunnel = &cli.Command{
"--host", tun.IP,
"--user", tun.Username,
)
tunnelCmd.Env = append(os.Environ(), "SSH_PRIVATE_KEY="+tun.PrivateKey)
tunnelCmd.Env = append(
os.Environ(),
"SST_SKIP_LOCAL=true",
"SSH_PRIVATE_KEY="+tun.PrivateKey,
)
tunnelCmd.Stdout = os.Stdout
tunnelCmd.Stderr = os.Stderr
util.SetProcessGroupID(tunnelCmd)
Expand Down

0 comments on commit 35c2a29

Please sign in to comment.