Netbird menu: enable built-in SSH server on join; document SSH host aliases
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01N7JYaTBsSRDoJx2aDEjVp2
This commit is contained in:
@@ -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).
|
||||
|
||||
#### 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
|
||||
- **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)
|
||||
|
||||
@@ -414,7 +414,7 @@ action_netbird_connect() {
|
||||
return
|
||||
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"
|
||||
else
|
||||
log_error "Netbird connection failed"
|
||||
|
||||
@@ -9323,7 +9323,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
|
||||
log_success "Netbird connected"
|
||||
fi
|
||||
pause
|
||||
@@ -9354,7 +9354,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
|
||||
fi
|
||||
fi
|
||||
pause
|
||||
|
||||
Reference in New Issue
Block a user