Let your agent borrow SSH access.
You set the rules. Approve temporary access to your homelab in Telegram.
Allow SSH access?
wants to on .
Match code
How it works
Temporary SSH access, approved on your phone.
- Agents ask your Leasekey server instead of holding permanent SSH keys.
- You check the host, account, reason, and match code on your phone, then approve with Face ID or fingerprint.
- Leasekey creates a temporary SSH certificate that expires on its own.
-
Permanent SSH keys stay open forever.
Agents need SSH access to work on your servers, but normal SSH keys never expire. A yes prompt in the same terminal is easy to fake.
-
Give the agent a lease, not a permanent key.
The agent asks for access, and you approve it on your phone. Leasekey gives it a temporary SSH certificate, not a permanent key or a shared session.
-
Check the request and approve it on your phone.
The agent asks your Leasekey server, which sends an encrypted push to your phone. You check the agent, host, account, reason, time limit, and match code, then approve with Face ID or fingerprint.
-
Access expires on its own.
When time runs out, sshd blocks new logins while any open session keeps running. You can also end one lease or all of them at any time.
-
Your keys never leave your phone.
Approval keys stay in Secure Enclave or StrongBox, so the server never holds them and every approval is signed. High-risk requests are marked, and the self-hosted, open-source server stays private on your LAN or tailnet.
-
Let agents work while you stay in control.
Your agents can deploy, inspect logs, and fix servers without permanent keys. You decide what opens with one tap.
-
Run Leasekey on your own server.
Leasekey is open source and works with CLI and MCP agents today. The iPhone and Android apps are coming soon.
Back to top ↑