Add, List & Switch Servers
v1.0
·
Updated 5 days ago
Add, List & Switch Servers
/add-server — add another server
Adds an additional server. If the name already exists, the command asks first (set active, update or cancel) — so accidental overwrites are impossible.
/list-servers — show the inventory
Shows all servers as a table and marks the active one with *:
| Active | Server | Host | Description |
| ------ | ----------- | ------------ | ----------- |
| * | homeserver | 192.168.1.5 | Main Pi |
| | vps-web | 12.34.56.78 | Web VPS |
/use — set the active server
With /use <name> you set the active server. From then on it is the default target for any command where you do not name a server explicitly.
The active server & the target echo
For every command: an explicit argument wins, otherwise the active server is used. So it is always clear what you are working on, each command echoes its target first:
→ Ziel: homeserver (pi@192.168.1.5:22)