centralized ssh pub key repo
api.php | ||
LICENSE | ||
README.md |
central-ssh
centralized ssh pub key repo
To push a key to the repo, the following may be used:
curl -X POST --data-urlencode "text=$(cat ~/.ssh/id_ed25519.pub)" -d "password=SuperSecretPassword" https://archuser.org/ssh/api.php
To delete a line from the repo, use the following:
curl -X POST -d "delete_line=0" -d "password=SuperSecretPassword" https://archuser.org/ssh/api.php
With delete_line=0
equating to the first line of authorized_keys.txt