Add --allow-server-ssh --disable-ssh-auth to netbird up commands

NetBird v0.60 changed SSH to JWT/IdP-based auth by default.
Using --disable-ssh-auth keeps access controlled purely by NetBird
ACL policies (machine-level, like pre-v0.60 behaviour) without
requiring an identity provider or OIDC flow.

https://claude.ai/code/session_01M3tiofbGfmTddeMcXr8nXr
This commit is contained in:
Claude
2026-04-21 02:55:48 +00:00
parent a7894ede51
commit 11173bbcda
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -8471,7 +8471,7 @@ addon_netbird() {
echo "Get setup key from Netbird dashboard"
read -r -p "Enter setup key: " setup_key
if [[ -n "$setup_key" ]]; then
sudo netbird up --setup-key "$setup_key"
sudo netbird up --setup-key "$setup_key" --allow-server-ssh --disable-ssh-auth
log_success "Netbird connected"
fi
pause
@@ -8502,7 +8502,7 @@ addon_netbird() {
if [[ "$do_connect" =~ ^[Yy]$ ]]; then
echo "Get setup key from Netbird dashboard"
read -r -p "Enter setup key: " setup_key
[[ -n "$setup_key" ]] && sudo netbird up --setup-key "$setup_key"
[[ -n "$setup_key" ]] && sudo netbird up --setup-key "$setup_key" --allow-server-ssh --disable-ssh-auth
fi
fi
pause
+2 -2
View File
@@ -8477,7 +8477,7 @@ addon_netbird() {
echo "Get setup key from Netbird dashboard"
read -r -p "Enter setup key: " setup_key
if [[ -n "$setup_key" ]]; then
sudo netbird up --setup-key "$setup_key"
sudo netbird up --setup-key "$setup_key" --allow-server-ssh --disable-ssh-auth
log_success "Netbird connected"
fi
pause
@@ -8508,7 +8508,7 @@ addon_netbird() {
if [[ "$do_connect" =~ ^[Yy]$ ]]; then
echo "Get setup key from Netbird dashboard"
read -r -p "Enter setup key: " setup_key
[[ -n "$setup_key" ]] && sudo netbird up --setup-key "$setup_key"
[[ -n "$setup_key" ]] && sudo netbird up --setup-key "$setup_key" --allow-server-ssh --disable-ssh-auth
fi
fi
pause