Skip to content

Commit

Permalink
tailcfg: add node attr for SSH environment variables (tailscale#13450)
Browse files Browse the repository at this point in the history
Add a node attr for enabling SSH environment variable handling logic.

Updates tailscale/corp#22775

Signed-off-by: Mario Minardi <[email protected]>
  • Loading branch information
mpminardi authored Sep 12, 2024
1 parent aa15a63 commit 93f61aa
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tailcfg/tailcfg.go
Original file line number Diff line number Diff line change
Expand Up @@ -2342,6 +2342,10 @@ const (
// 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.
Expand Down

0 comments on commit 93f61aa

Please sign in to comment.