Allow nodes to use SSH agent forwarding (#2145)

This commit is contained in:
David Mell 2024-09-23 01:59:16 -08:00 committed by GitHub
parent f3fca8302a
commit 07b596d3cc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 7 additions and 6 deletions

View file

@ -292,7 +292,7 @@ func (pol *ACLPolicy) CompileSSHPolicy(
Reject: false,
Accept: true,
SessionDuration: 0,
AllowAgentForwarding: false,
AllowAgentForwarding: true,
HoldAndDelegate: "",
AllowLocalPortForwarding: true,
}
@ -401,7 +401,7 @@ func sshCheckAction(duration string) (*tailcfg.SSHAction, error) {
Reject: false,
Accept: true,
SessionDuration: sessionLength,
AllowAgentForwarding: false,
AllowAgentForwarding: true,
HoldAndDelegate: "",
AllowLocalPortForwarding: true,
}, nil