Merge pull request #126 from outis1one/claude/sharp-carson-8tbjf5

Netbird menu: enable built-in SSH server on join; document SSH host a…
This commit is contained in:
Outis
2026-10-17 13:07:32 -04:00
committed by GitHub
3 changed files with 14 additions and 3 deletions
+11
View File
@@ -438,6 +438,17 @@ Both can be used at the same time — they serve different purposes:
``` ```
`--allow-server-ssh` enables Netbird's built-in SSH server (peers also need an SSH policy in the dashboard). `--allow-server-ssh` enables Netbird's built-in SSH server (peers also need an SSH policy in the dashboard).
#### SSH Host aliases
`~/.ssh/config` lets you `ssh <alias>` instead of typing `ssh user@1.2.3.4` every time — especially handy once machines are reachable over a VPN/Netbird overlay network where the IP is easy to forget:
```
Host myserver
HostName 100.x.x.x
User someuser
Port 22
```
### Advanced ### Advanced
- **Emergency WiFi Hotspot** - Auto-starts if no internet after boot (configurable during install) - **Emergency WiFi Hotspot** - Auto-starts if no internet after boot (configurable during install)
- **Virtual Console Access** - Ctrl+Alt+F1-F8 terminal login (can enable/disable during install) - **Virtual Console Access** - Ctrl+Alt+F1-F8 terminal login (can enable/disable during install)
+1 -1
View File
@@ -414,7 +414,7 @@ action_netbird_connect() {
return return
fi fi
if sudo netbird up --setup-key "$setup_key"; then if sudo netbird up --setup-key "$setup_key" --allow-server-ssh; then
log_success "Netbird connected" log_success "Netbird connected"
else else
log_error "Netbird connection failed" log_error "Netbird connection failed"
+2 -2
View File
@@ -9323,7 +9323,7 @@ addon_netbird() {
echo "Get setup key from Netbird dashboard" echo "Get setup key from Netbird dashboard"
read -r -p "Enter setup key: " setup_key read -r -p "Enter setup key: " setup_key
if [[ -n "$setup_key" ]]; then if [[ -n "$setup_key" ]]; then
sudo netbird up --setup-key "$setup_key" sudo netbird up --setup-key "$setup_key" --allow-server-ssh
log_success "Netbird connected" log_success "Netbird connected"
fi fi
pause pause
@@ -9354,7 +9354,7 @@ addon_netbird() {
if [[ "$do_connect" =~ ^[Yy]$ ]]; then if [[ "$do_connect" =~ ^[Yy]$ ]]; then
echo "Get setup key from Netbird dashboard" echo "Get setup key from Netbird dashboard"
read -r -p "Enter setup key: " setup_key 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
fi fi
fi fi
pause pause