[GH-ISSUE #5016] SSH fine-grained peer group permissions #9725

Open
opened 2026-08-05 01:23:13 -04:00 by saavagebueno · 0 comments
Owner

Originally created by @justincmoy on GitHub (Dec 31, 2025).
Original GitHub issue: https://github.com/netbirdio/netbird/issues/5016

I'm lumping feature requests around SSH fine-grained permissions into a single issue. The first two are somewhat related (around what type of host can connect using a particular target user) and the last one is docs-related.

  • It would be nice if we could specify the combination of source user groups and source peer groups. A use case here would be I want to allow a user to SSH to a server as a target user from their laptop but not from another production server, if laptops and servers live on separate subnets.

  • Ephemeral hosts should be a separate peer group and should have a policy associated with them. I found I can SSH as root from the dashboard and want to disallow that.

  • It wasn’t immediately obvious to me how the previous Access Control Policy and the new fine-grained ones interact with each other. Do I want to specify one or the other? Or specify both as one applies to allowing network traffic and the other applies to target user.

Additional context

Originally created by @justincmoy on GitHub (Dec 31, 2025). Original GitHub issue: https://github.com/netbirdio/netbird/issues/5016 I'm lumping feature requests around SSH fine-grained permissions into a single issue. The first two are somewhat related (around what type of host can connect using a particular target user) and the last one is docs-related. - It would be nice if we could specify the combination of source user groups and source peer groups. A use case here would be I want to allow a user to SSH to a server as a target user from their laptop but not from another production server, if laptops and servers live on separate subnets. - Ephemeral hosts should be a separate peer group and should have a policy associated with them. I found I can SSH as root from the dashboard and want to disallow that. - It wasn’t immediately obvious to me how the previous Access Control Policy and the new fine-grained ones interact with each other. Do I want to specify one or the other? Or specify both as one applies to allowing network traffic and the other applies to target user. **Additional context** - From [Reddit comment](https://www.reddit.com/r/netbird/comments/1pzgf13/netbird_v0610_released_autoupdates_finegrained/nwrp25m/) - [Authorized keys from format ](https://man.openbsd.org/sshd.8#from=_pattern-list_)for matching IP address or hostname
saavagebueno added the feature-request label 2026-08-05 01:23:13 -04:00
Sign in to join this conversation.
No Label feature-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#9725