Skip to content

Commit 93f61aa

Browse files
authored
tailcfg: add node attr for SSH environment variables (tailscale#13450)
Add a node attr for enabling SSH environment variable handling logic. Updates tailscale/corp#22775 Signed-off-by: Mario Minardi <mario@tailscale.com>
1 parent aa15a63 commit 93f61aa

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tailcfg/tailcfg.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2342,6 +2342,10 @@ const (
23422342
// NodeAttrDisableCaptivePortalDetection instructs the client to not perform captive portal detection
23432343
// automatically when the network state changes.
23442344
NodeAttrDisableCaptivePortalDetection NodeCapability = "disable-captive-portal-detection"
2345+
2346+
// NodeAttrSSHEnvironmentVariables enables logic for handling environment variables sent
2347+
// via SendEnv in the SSH server and applying them to the SSH session.
2348+
NodeAttrSSHEnvironmentVariables NodeCapability = "ssh-env-vars"
23452349
)
23462350

23472351
// SetDNSRequest is a request to add a DNS record.

0 commit comments

Comments
 (0)