Handbuch: Funktionen aus herdr nachgetragen (#169)

Handbuch DE/EN (site/de/handbuch.html, site/manual.html): Alt+C, Alt+X,
Wartet-Marke und KI-Agenten mit Alt+G, Tabs vom letzten Mal,
Hintergrunddienst, Kopfzeile, MCP open_tab/send_input/wait_tab.


Claude-Session: https://claude.ai/code/session_018i4GUjdQjzrs26BYCfbBCH

Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
db9979andClaude authored and GitHub committed 2026-11-15 21:57:27 +01:00
1 parent 50f5b28608
commit c81cecf677
2 files changed
+12 -2

No files matched your search

+6 -1
View File
@@ -84,6 +84,11 @@
<li><kbd>Strg</kbd>+<kbd>T</kbd> teilt die Ansicht (2 bis 6 Bereiche), <kbd>Alt</kbd>+<kbd>I</kbd> tippt in alle sichtbaren gleichzeitig.</li>
<li><kbd>⇧F10</kbd> verschiebt einen Tab in ein eigenes Terminalfenster.</li>
<li><kbd>Strg</kbd>+<kbd>F</kbd> durchsucht den Verlauf, <kbd>Strg</kbd>+<kbd>E</kbd> springt zu Fehlerzeilen. <kbd>Alt</kbd>+<kbd>S</kbd> sucht in allen offenen Tabs.</li>
<li><kbd>Alt</kbd>+<kbd>C</kbd> markiert per Tastatur: Pfeile oder <kbd>h</kbd><kbd>j</kbd><kbd>k</kbd><kbd>l</kbd>, <kbd>w</kbd>/<kbd>b</kbd>/<kbd>e</kbd> wortweise, <kbd>v</kbd> markieren, <kbd>V</kbd> ganze Zeilen, <kbd>y</kbd> kopiert, <kbd>Esc</kbd> beendet. <kbd>Alt</kbd>+<kbd>X</kbd> leert Bildschirm und Verlauf, die Eingabezeile bleibt.</li>
<li>Wartet ein Tab auf ein Passwort, eine <code>[j/N]</code>-Frage, eine Taste oder im Pager, steht ein <code>?</code> an ihm. Läuft darin ein KI-Coding-Agent (Claude Code, Codex, Gemini CLI, OpenCode, Copilot CLI, Cursor Agent, Qwen Code), zeigt der Tab, ob er arbeitet, auf deine Freigabe wartet (<code>◆</code>, dazu eine Desktop-Meldung) oder fertig ist. <kbd>Alt</kbd>+<kbd>G</kbd> springt zum nächsten Tab, der wartet oder sich gemeldet hat; ein Klick auf die Desktop-Meldung öffnet ihn direkt.</li>
<li><b>Tabs vom letzten Mal</b>: Beim Start fragt sshTermy, ob es die Tabs und die Aufteilung der letzten Sitzung wieder öffnen soll. Palette „Tabs vom letzten Mal“ stellt auf immer oder nie.</li>
<li><b>Hintergrunddienst</b> (Palette „Hintergrunddienst“, nur im Terminal-Betrieb): Sitzungen laufen weiter, wenn du das Terminalfenster schließt; <code>sshtermy</code> hängt sich wieder an. <kbd>Strg</kbd>+<kbd>Q</kbd> → <kbd>a</kbd> koppelt ab, <kbd>j</kbd> beendet wirklich.</li>
<li><b>Kopfzeile</b>: Palette „Kopfzeile: Uhrzeit zeigen“ und „Kopfzeile: eigener Befehl …“. Die erste Zeile der Ausgabe steht rechts, etwa <code>git -C ~/repo branch --show-current</code>; alle 30 s, mit <code>@60</code> am Ende alle 60 s.</li>
<li><kbd>F9</kbd> und <kbd>⇧F1</kbd>…<kbd>⇧F8</kbd>: Schnellbefehle, passend zum Gerät vorbelegt (Linux, Windows, Aruba, Cisco, Juniper, MikroTik, FortiGate …).</li>
<li><kbd>F6</kbd> Host-Übersicht: CPU, RAM, Platte, Updates bei Servern, bei Linux Live-Graphen (<kbd>t</kbd> 5 min / 1 h, <kbd>z</kbd> groß); Firmware, Ports und VLANs bei Netzwerkgeräten; <kbd>c</kbd> Container; <kbd>s</kbd> Sicherheitscheck: installierte Pakete gegen die OSV-Datenbank (Bewertung, Reparatur vorhanden, aktiv ausgenutzt, von laufendem Dienst genutzt); an Switches und Firewalls Firmware-Hinweise aus der NVD. Palette <em>Patch-Runde</em>: Updates gestaffelt über einen Ordner, erst ein Host, dann <kbd>w</kbd> für den Rest. <kbd>h</kbd> Härtungs-Check (nur lesend), <kbd>a</kbd> Schlüssel-Inventar der <code>authorized_keys</code>, <kbd>i</kbd> Inventar &amp; Änderungen seit dem letzten Mal (<kbd>e</kbd> CSV). Kurven für CPU, RAM und Platten über 24 Stunden (<kbd>w</kbd> 7 Tage) mit „Platte voll in ~N Tagen“.</li>
<li>Reißt die Leitung ab (WLAN, VPN, Ruhezustand), verbindet sshTermy von selbst neu, startet Tunnel und hängt tmux/screen wieder an. Nach dem Aufwachen oder einem Netzwechsel werden alle Leitungen sofort geprüft.</li>
@@ -191,7 +196,7 @@
<p>Claude Desktop, Claude Code und andere MCP-Clients können sshTermy als Werkzeug nutzen. Einschalten unter Einstellungen › Sicherheit › „MCP-Zugriff für KI-Clients“:</p>
<ul>
<li><b>nur lesen</b>: Verbindungen und Tabs auflisten, einen Tab lesen, lesende Befehle (<code>df -h</code>, <code>show interfaces</code>) ausführen.</li>
<li><b>mit Rückfrage</b>: jeder andere Befehl läuft erst nach <kbd>j</kbd> in sshTermy.</li>
<li><b>mit Rückfrage</b>: jeder andere Befehl läuft erst nach <kbd>j</kbd> in sshTermy. Dazu kann der Client Tabs steuern: <code>open_tab</code> öffnet eine Verbindung, <code>send_input</code> tippt in einen Tab (lesender Befehl am Prompt direkt, sonst mit Rückfrage; Passwörter und Steuerzeichen nie), <code>wait_tab</code> wartet auf Prompt, Eingabe, einen Text oder Ruhe (höchstens 10 Minuten). <code>list_tabs</code> zeigt, ob ein Tab arbeitet oder wartet.</li>
</ul>
<div class="cmd"><pre>claude mcp add sshtermy -- sshtermy mcp</pre></div>
<p>Claude Desktop: in <code>claude_desktop_config.json</code> den Server <code>{"command": "sshtermy", "args": ["mcp"]}</code> eintragen. sshTermy muss laufen und entsperrt sein. Der KI-Datenschutz gilt auch hier, und jeder Aufruf steht im Audit-Protokoll.</p>
+6 -1
View File
@@ -84,6 +84,11 @@
<li><kbd>Ctrl</kbd>+<kbd>T</kbd> splits the view (2 to 6 panes), <kbd>Alt</kbd>+<kbd>I</kbd> types into all visible panes at once.</li>
<li><kbd>⇧F10</kbd> moves a tab into its own terminal window.</li>
<li><kbd>Ctrl</kbd>+<kbd>F</kbd> searches the scrollback, <kbd>Ctrl</kbd>+<kbd>E</kbd> jumps to error lines. <kbd>Alt</kbd>+<kbd>S</kbd> searches all open tabs.</li>
<li><kbd>Alt</kbd>+<kbd>C</kbd> selects by keyboard: arrows or <kbd>h</kbd><kbd>j</kbd><kbd>k</kbd><kbd>l</kbd>, <kbd>w</kbd>/<kbd>b</kbd>/<kbd>e</kbd> by word, <kbd>v</kbd> select, <kbd>V</kbd> whole lines, <kbd>y</kbd> copies, <kbd>Esc</kbd> ends. <kbd>Alt</kbd>+<kbd>X</kbd> clears screen and scrollback, the input line stays.</li>
<li>A tab waiting for a password, a <code>[y/N]</code> question, a key or a pager gets a <code>?</code>. If an AI coding agent runs in it (Claude Code, Codex, Gemini CLI, OpenCode, Copilot CLI, Cursor Agent, Qwen Code), the tab shows whether it is working, waiting for your approval (<code>◆</code>, plus a desktop notification) or done. <kbd>Alt</kbd>+<kbd>G</kbd> jumps to the next tab that waits or has a notice; clicking the desktop notification opens it directly.</li>
<li><b>Tabs from last time</b>: at start sshTermy asks whether to reopen the tabs and split layout of the last session. Palette “Tabs from last time” sets it to always or never.</li>
<li><b>Background service</b> (palette “Background service”, terminal mode only): sessions keep running when you close the terminal window; <code>sshtermy</code> attaches again. <kbd>Ctrl</kbd>+<kbd>Q</kbd> → <kbd>a</kbd> detaches, <kbd>y</kbd> really quits.</li>
<li><b>Header</b>: palette “Header: show the time” and “Header: own command …”. The first line of the output shows on the right, e.g. <code>git -C ~/repo branch --show-current</code>; every 30 s, <code>@60</code> at the end for every 60 s.</li>
<li><kbd>F9</kbd> and <kbd>⇧F1</kbd>…<kbd>⇧F8</kbd>: quick commands, preset for the device (Linux, Windows, Aruba, Cisco, Juniper, MikroTik, FortiGate …).</li>
<li><kbd>F6</kbd> host overview: CPU, RAM, disk, updates on servers, live graphs on Linux (<kbd>t</kbd> 5 min / 1 h, <kbd>z</kbd> large); firmware, ports and VLANs on network devices; <kbd>c</kbd> containers; <kbd>s</kbd> security check: installed packages against the OSV database (score, fix available, actively exploited, used by a running service); on switches and firewalls firmware advisories from the NVD. Palette <em>Patch round</em>: staged updates across a folder, first host, then <kbd>w</kbd> for the rest. <kbd>h</kbd> hardening check (read-only), <kbd>a</kbd> key inventory of the <code>authorized_keys</code>, <kbd>i</kbd> inventory &amp; changes since last time (<kbd>e</kbd> CSV). Curves for CPU, RAM and disks over 24 hours (<kbd>w</kbd> 7 days) with "disk full in ~N days".</li>
<li>If the line drops (Wi-Fi, VPN, standby), sshTermy reconnects by itself, restarts tunnels and re-attaches tmux/screen. After waking up or a network change all connections are checked right away.</li>
@@ -191,7 +196,7 @@
<p>Claude Desktop, Claude Code and other MCP clients can use sshTermy as a tool. Switch it on under Settings › Security › “MCP access for AI clients”:</p>
<ul>
<li><b>read only</b>: list connections and tabs, read a tab, run read-only commands (<code>df -h</code>, <code>show interfaces</code>).</li>
<li><b>with confirmation</b>: any other command runs only after <kbd>y</kbd> in sshTermy.</li>
<li><b>with confirmation</b>: any other command runs only after <kbd>y</kbd> in sshTermy. The client can also control tabs: <code>open_tab</code> opens a connection, <code>send_input</code> types into a tab (a read-only command at the prompt runs directly, anything else asks; never passwords or control characters), <code>wait_tab</code> waits for the prompt, input, a text or quiet (at most 10 minutes). <code>list_tabs</code> shows whether a tab is working or waiting.</li>
</ul>
<div class="cmd"><pre>claude mcp add sshtermy -- sshtermy mcp</pre></div>
<p>Claude Desktop: add the server <code>{"command": "sshtermy", "args": ["mcp"]}</code> to <code>claude_desktop_config.json</code>. sshTermy must be running and unlocked. AI privacy applies here too, and every call is in the audit log.</p>