@@ -3323,7 +3323,7 @@ func TestSSHRules(t *testing.T) {
3323
3323
SSHUsers : map [string ]string {
3324
3324
"autogroup:nonroot" : "=" ,
3325
3325
},
3326
- Action : & tailcfg.SSHAction {Accept : true , AllowLocalPortForwarding : true },
3326
+ Action : & tailcfg.SSHAction {Accept : true , AllowAgentForwarding : true , AllowLocalPortForwarding : true },
3327
3327
},
3328
3328
{
3329
3329
SSHUsers : map [string ]string {
@@ -3334,7 +3334,7 @@ func TestSSHRules(t *testing.T) {
3334
3334
Any : true ,
3335
3335
},
3336
3336
},
3337
- Action : & tailcfg.SSHAction {Accept : true , AllowLocalPortForwarding : true },
3337
+ Action : & tailcfg.SSHAction {Accept : true , AllowAgentForwarding : true , AllowLocalPortForwarding : true },
3338
3338
},
3339
3339
{
3340
3340
Principals : []* tailcfg.SSHPrincipal {
@@ -3345,7 +3345,7 @@ func TestSSHRules(t *testing.T) {
3345
3345
SSHUsers : map [string ]string {
3346
3346
"autogroup:nonroot" : "=" ,
3347
3347
},
3348
- Action : & tailcfg.SSHAction {Accept : true , AllowLocalPortForwarding : true },
3348
+ Action : & tailcfg.SSHAction {Accept : true , AllowAgentForwarding : true , AllowLocalPortForwarding : true },
3349
3349
},
3350
3350
{
3351
3351
SSHUsers : map [string ]string {
@@ -3356,7 +3356,7 @@ func TestSSHRules(t *testing.T) {
3356
3356
Any : true ,
3357
3357
},
3358
3358
},
3359
- Action : & tailcfg.SSHAction {Accept : true , AllowLocalPortForwarding : true },
3359
+ Action : & tailcfg.SSHAction {Accept : true , AllowAgentForwarding : true , AllowLocalPortForwarding : true },
3360
3360
},
3361
3361
}},
3362
3362
},
0 commit comments