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>
This commit is contained in:
Mario Minardi 2024-09-12 16:18:14 -06:00 committed by GitHub
parent aa15a63651
commit 93f61aa4cc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2342,6 +2342,10 @@ type Oauth2Token struct {
// NodeAttrDisableCaptivePortalDetection instructs the client to not perform captive portal detection
// automatically when the network state changes.
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.