pauth is a self-hosted POC push authentication mechanism for SSH inspired by Duo's push notification mechanism.
⚠️ ⚠️ ⚠️ This project is a quick POC, please read the code and the PAM documentation before using it!⚠️ ⚠️ ⚠️
- Install
pauth
to/usr/local/bin/pauth
- Add the following to
/etc/pam.d/sshd
:auth required pam_permit.so auth required pam_exec.so /usr/local/bin/pauth -server wss://pauth.domain.tld/ws -uuid 00000000-0000-0000-0000-000000000000 pam
- Push notifications
- Progressive Web App
- Tests
- WebSocket pings
- Timeouts
- Proper logging
- Proper protocol for communication (JSON?, gob?)
- Restricting access to the API
- Public-key cryptography for linking "users" and "clients"
- CLI tool for linking "clients" (perhaps a QR code?)
- Support more than one client per server