sshlogin: securely authenticating to remote Linux systems
summary
Prototype reuses existing SSH keys via an ephemeral ECDH exchange: server sends a 32‑byte public key, client computes a shared secret and returns an 8‑byte OTP (base64 ≈ 12 chars) that the PAM module verifies. Implemented as a PAM auth module plus a client utility and a client wrapper called ssh‑login‑clippy that types the code (one keypress + PIN for PIV/YubiKey). Deployed internally, falls back to passwords and proves reliable in demos; source not yet published.
AI-written summary · about
chapters (18)
- 0:00Introduction and motivation
- 1:18Why SSH is the standard
- 2:42Emergency access without network
- 4:47Problems with passwords
- 7:15Shared password challenges
- 8:19One-time password approaches
- 12:13Challenge-based OTP limitations
- 14:02Text-based OTP protocol goals
- 15:25Public key cryptography solution
- 17:32Elliptic curve DH implementation
- 19:42PAM framework overview
- 21:07Demo of PAM module
- 24:21Deploying SSH login module
- 25:45Using SSH keys for OTP
- 26:07Hardware key support
- 28:35Improving user experience
- 29:20SSH login clippy tool
- 31:09Conclusions and key takeaways
