# DevOps runbook — SSH from Paperclip host to WDMI Importer (BIT-1044) **Issue:** [BIT-1044](/BIT/issues/BIT-1044) **Unblocks:** [BIT-1041](/BIT/issues/BIT-1041) (Importer maintenance scripts on the production guest, not in `WDMI_UBUNTU` git). ## Goal From the Paperclip execution host (**`10.10.50.17`**, user **`paperclip`**), run: ```bash ssh -o BatchMode=yes -o ConnectTimeout=10 root@192.168.1.123 echo ok ``` Expected stdout: `ok` (no password prompt). Canonical Importer LAN IP and deploy path: [WDMI deploy runbook](https://git.bitreport.pt/BitReport.pt/paperclip/src/branch/main/docs/WDMI_DEPLOY_RUNBOOK.md) §2. ## Prerequisites (network) The host has **dual homing**: VLAN **1050** (`10.10.50.17`) and LAN **`192.168.1.0/24`** (`192.168.1.239` on `eth1`). Traffic to **`192.168.1.123`** must leave via **`eth1`** with working L2/L3 to the Importer. **Typical failure (pre-fix):** `ip neigh show 192.168.1.123` stays **`INCOMPLETE`** / **`FAILED`**; `ping` loss; SSH **`No route to host`**. **Route OK, auth missing:** SSH connects (no *No route to host*) but **`Permission denied (publickey,password)`** with **BatchMode** means **TCP/22** is fine and **`root`** is not yet accepting **`paperclip@bitreport-cto`** — apply the **SSH key** section below on **`192.168.1.123`** (console or an existing privileged session). **Isolation check (Paperclip host, 2026-04):** On **`10.10.50.17`**, if **`192.168.1.1`** (gateway) and **`192.168.1.17`** (CT 220 `wdmi-store` `eth1`) answer **`ping`** but **`192.168.1.123`** does not, the Paperclip **`eth1`** path on **`192.168.1.0/24`** is healthy and the fault is almost certainly **Importer-specific** (wrong IP, guest down, host firewall, isolated switch port, or ACL dropping that host). Fix those before spending time on VLAN **1050** routing. **Operator actions (edge firewall / switch / guest):** 1. Confirm **`192.168.1.123`** is the live Importer address (vault / inventory). 2. Allow **TCP/22** from at least: - **`192.168.1.239`** (Paperclip `eth1`), and - **`192.168.1.17`** (CT 220 `wdmi-store` `eth1`, if CTO uses that hop). 3. Ensure the Importer OS is up, `sshd` listening on **`:22`**, and no host firewall drops those sources. ## SSH key (Paperclip → `root` on Importer) Use the same **Ed25519** public key as [BIT-720](/BIT/issues/BIT-720) / [BIT-721](/BIT/issues/BIT-721) (`paperclip@bitreport-cto`): On **`10.10.50.17`** as **`paperclip`**: ```bash cat ~/.ssh/id_ed25519.pub ``` On **`192.168.1.123`** as a user with privilege to edit **`root`** keys (console, IPMI, or existing SSH): ```bash install -d -m 700 /root/.ssh touch /root/.ssh/authorized_keys chmod 600 /root/.ssh/authorized_keys grep -qF '' /root/.ssh/authorized_keys || echo '' >> /root/.ssh/authorized_keys ``` **Do not** commit private keys or paste them into issues. ## Alternative path (Proxmox guest) If the Importer is an LXC/VM on **node9** and LAN routing cannot be fixed quickly, **`root`** on the Paperclip host may use **`pct`** via **`ssh root@192.168.1.9`** after one-time trust — see Paperclip meta-repo `docs/runbooks/AUTOMATION_PAPERCLIP_HOST_NODE9.md` and `tools/proxmox/push_pubkey_to_lxc_via_node9.sh` (workstation or **`root`** on **10.10.50.17** with node9 key). The unprivileged **`paperclip`** account does not perform that hop unless explicitly configured. ## Verification (automation-friendly) From the **`errors.bitreport.pt`** repo on a machine that should have access (normally **10.10.50.17**): ```bash ./scripts/devops/verify_importer_ssh_bit1044.sh ``` Exit code **0** only when the BatchMode SSH check succeeds. ## Related hub docs - [BIT-1079](/BIT/issues/BIT-1079) — CTO escalation when **`192.168.1.123`** is offline or LAN routing is broken for multiple dependents ([BIT-1044](/BIT/issues/BIT-1044), [BIT-1041](/BIT/issues/BIT-1041), etc.). - [RUNBOOK_REPORTER_WDMI_CACHE_MKDIR.md](RUNBOOK_REPORTER_WDMI_CACHE_MKDIR.md) — Importer reachability note for runners. - [RUNBOOK_REPORTER_WDMI_FLEXIT_XML.md](RUNBOOK_REPORTER_WDMI_FLEXIT_XML.md) — Importer deploy references.