tailcfg: add node attr for SSH environment variables (#13450)

Add a node attr for enabling SSH environment variable handling logic.

Updates https://github.com/tailscale/corp/issues/22775

Signed-off-by: Mario Minardi <mario@tailscale.com>
pull/13464/head
Mario Minardi 2 months ago committed by GitHub
parent aa15a63651
commit 93f61aa4cc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -2342,6 +2342,10 @@ const (
// NodeAttrDisableCaptivePortalDetection instructs the client to not perform captive portal detection // NodeAttrDisableCaptivePortalDetection instructs the client to not perform captive portal detection
// automatically when the network state changes. // automatically when the network state changes.
NodeAttrDisableCaptivePortalDetection NodeCapability = "disable-captive-portal-detection" NodeAttrDisableCaptivePortalDetection NodeCapability = "disable-captive-portal-detection"
// NodeAttrSSHEnvironmentVariables enables logic for handling environment variables sent
// via SendEnv in the SSH server and applying them to the SSH session.
NodeAttrSSHEnvironmentVariables NodeCapability = "ssh-env-vars"
) )
// SetDNSRequest is a request to add a DNS record. // SetDNSRequest is a request to add a DNS record.

Loading…
Cancel
Save