[GH-ISSUE #887] netbird pre-shared not persistent #1343

Open
opened 2026-08-05 00:42:08 -04:00 by saavagebueno · 0 comments
Owner

Originally created by @support-tt on GitHub (May 22, 2023).
Original GitHub issue: https://github.com/netbirdio/netbird/issues/887

Describe the problem
PreShared key not persistent in the config.json on ubuntu 20.04 , 22.04 , 23.04 , Windows and Mint. (At least this distros I tested)

To Reproduce
Steps to reproduce the behavior:

  1. netbird up --preshared-key PreSharedKey
  2. cat /etc/netbird/config.json --> PreShared key is in the config
  3. netbird down --> Still Key is in the Config
  4. netbird up --> Key removed from the konfig

Same problem when using gui. I already opened a issue #845 which was closed as fixed but the problem is still in the 0.20.3.

Expected behavior
Key should be persistent in the config.josn because after restarts of the service or the server the client connects without the key so preshared key protection is disabled ...

NetBird status -d output:
If applicable, add the output of the netbird status -d command
Is think not relevant because the connection is working fine when connected without preshared key or using netbird up --preshared-key with every connect.

Screenshots
Same problem/screenshots then in #845

Originally created by @support-tt on GitHub (May 22, 2023). Original GitHub issue: https://github.com/netbirdio/netbird/issues/887 **Describe the problem** PreShared key not persistent in the config.json on ubuntu 20.04 , 22.04 , 23.04 , Windows and Mint. (At least this distros I tested) **To Reproduce** Steps to reproduce the behavior: 1. netbird up --preshared-key PreSharedKey 2. cat /etc/netbird/config.json --> PreShared key is in the config 3. netbird down --> Still Key is in the Config 4. netbird up --> Key removed from the konfig Same problem when using gui. I already opened a issue #845 which was closed as fixed but the problem is still in the 0.20.3. **Expected behavior** Key should be persistent in the config.josn because after restarts of the service or the server the client connects without the key so preshared key protection is disabled ... **NetBird status -d output:** If applicable, add the output of the `netbird status -d` command Is think not relevant because the connection is working fine when connected without preshared key or using netbird up --preshared-key with every connect. **Screenshots** Same problem/screenshots then in #845
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#1343