https://github.com/sshine/portunus
An SSH AuthorizedKeys Manager
https://github.com/sshine/portunus
Last synced: 8 months ago
JSON representation
An SSH AuthorizedKeys Manager
- Host: GitHub
- URL: https://github.com/sshine/portunus
- Owner: sshine
- Created: 2024-06-21T16:52:41.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-22T10:45:30.000Z (about 2 years ago)
- Last Synced: 2025-02-05T08:09:31.663Z (over 1 year ago)
- Language: Rust
- Size: 7.81 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Portunus - SSH AuthorizedKeys Manager

Distribute your SSH AuthorizedKeys for multiple users with multiple keys to multiple machines.
Portunus supports importing its configuration from a git repository, and user SSH keys from GitHub.
## How does it work?
- `portunus-authkeys-cmd` is called by `sshd` using the `AuthorizedKeysCommand` setting.
- `portunus-authkeys-cmd` asks `portunus-keycached` if keys are authorized via UNIX or TCP socket.
- `portunus-keycached` gives a cached answer and syncs with its sources or other instances.
You install `portunus-authkeys-cmd` and `portunus-keycached` on each system under management.
You may install another `portunus-keycached` on one or more systems reachable via TCP.
You define which users have which keys and which users have access to which servers.
## How do I install Portunus?
### Debian
### NixOS
### Cargo
## Example deployments
### Single server
### Multi server