Configuration to permanently disable the experimental Enable remote SSH access feature. #811

Closed
opened 2025-11-20 05:17:54 -05:00 by saavagebueno · 3 comments
Owner

Originally created by @dr-lux on GitHub (Apr 19, 2024).

Is your feature request related to a problem? Please describe.
The experimental Enable remote SSH Access feature may allow a Netbird administrator to enable a peer's remote SSH access. This can lead to insecure enforcement of internal policies (such as lockdown of the SSH service or control through bastion access).

Describe the solution you'd like
Would it be possible to add a configuration argument to permanently disable this feature? This would prevent a Netbird administrator from enabling this feature.

Additional context
I'm self-hosting Netbird.

Thanks!

Originally created by @dr-lux on GitHub (Apr 19, 2024). **Is your feature request related to a problem? Please describe.** The experimental `Enable remote SSH Access` feature may allow a Netbird administrator to enable a peer's remote SSH access. This can lead to insecure enforcement of internal policies (such as lockdown of the SSH service or control through bastion access). **Describe the solution you'd like** Would it be possible to add a configuration argument to permanently disable this feature? This would prevent a Netbird administrator from enabling this feature. **Additional context** I'm self-hosting Netbird. Thanks!
saavagebueno added the feature-request label 2025-11-20 05:17:54 -05:00
Author
Owner

@pascal-fischer commented on GitHub (Apr 22, 2024):

Hi @dr-lux,
with version 0.26.0 we changed the behavior of the ssh server and added a flag --allow-server-ssh to the client. This way the end user needs to explicitly allow ssh access to their device, otherwise even the administrator is unable to start the ssh server. Meaning now it requires both, the users consent and the enabled ssh server in the admin panel for anyone to connect to that peer via ssh.

@pascal-fischer commented on GitHub (Apr 22, 2024): Hi @dr-lux, with version [0.26.0](https://github.com/netbirdio/netbird/releases/tag/v0.26.0) we changed the behavior of the ssh server and added a flag `--allow-server-ssh` to the client. This way the end user needs to explicitly allow ssh access to their device, otherwise even the administrator is unable to start the ssh server. Meaning now it requires both, the users consent and the enabled ssh server in the admin panel for anyone to connect to that peer via ssh.
Author
Owner

@dr-lux commented on GitHub (Apr 22, 2024):

Hi @pascal-fischer thanks a lot for the clarification. I think it was not well explain through the documentation.

@dr-lux commented on GitHub (Apr 22, 2024): Hi @pascal-fischer thanks a lot for the clarification. I think it was not well explain through the documentation.
Author
Owner

@simonmicro commented on GitHub (Aug 16, 2024):

@pascal-fischer I fear this change is not working anymore. I freshly set up v0.28.7 on my machines and was able to activate the SSH access without any hurdles (after enabling it in the web interface).

This is really not good, as I do not want to have root-access to the machines of my other users!

@simonmicro commented on GitHub (Aug 16, 2024): @pascal-fischer I fear this change is not working anymore. I freshly set up `v0.28.7` on my machines and was able to activate the SSH access without any hurdles (after enabling it in the web interface). This is really not good, as I do not want to have root-access to the machines of my other users!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#811