lend: running remote coding agents without handing them your credentials
A developer built lend, an open-source proxy that sits in front of a laptop's SSH agent so coding agents such as Claude Code and Codex running on remote VMs can request commands like gh to run on the laptop, gated by a local policy and Touch ID approval…
Why it matters
It offers a practical pattern for giving remote agents access to your identity without copying tokens onto the VM or blindly forwarding your SSH agent.
What happened
1 min readA developer built lend, an open-source proxy that sits in front of a laptop's SSH agent so coding agents such as Claude Code and Codex running on remote VMs can request commands like gh to run on the laptop, gated by a local policy and Touch ID approval. Tokens never leave the laptop, and every signature or command is logged. The post also describes a workflow built on herdr, a terminal multiplexer for agents, and its phone client Ovis.
Our analysis
Over-broad agent access to credentials is a real and growing problem, and running the command where the key lives with explicit approval is a clear improvement over ssh -A. It is still a personal project, and command output flows back to the agent, so data exfiltration through results is not prevented; the author includes a section on what it doesn't protect against. Per-request approval can also turn into approval fatigue on long runs. Worth trying for people running several agents in parallel on remote machines.