From c1795c6af9d0921ade380211f6f4a830931ec231 Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Fri, 17 Jun 2022 12:11:55 -0700 Subject: [PATCH] tailcfg: define some Node.Capabilities about SSH, its config Updates #3802 Change-Id: Icb4ccbc6bd1c6304013bfc553d04007844a5c0bf Signed-off-by: Brad Fitzpatrick (cherry picked from commit 99ed54926b04ab95da534513076dc49bf7ac0a5b) --- tailcfg/tailcfg.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tailcfg/tailcfg.go b/tailcfg/tailcfg.go index a6e16a8c1..e3d2a5a2b 100644 --- a/tailcfg/tailcfg.go +++ b/tailcfg/tailcfg.go @@ -1474,6 +1474,8 @@ type Oauth2Token struct { CapabilityFileSharing = "https://tailscale.com/cap/file-sharing" CapabilityAdmin = "https://tailscale.com/cap/is-admin" + CapabilitySSH = "https://tailscale.com/cap/ssh" // feature enabled/available + CapabilitySSHRuleIn = "https://tailscale.com/cap/ssh-rule-in" // some SSH rule reach this node // Inter-node capabilities.