centralized ssh pub key repo
Find a file
2025-07-06 08:00:32 -04:00
api.php commit 2025-06-30 17:09:10 +00:00
LICENSE Initial commit 2025-06-30 08:46:24 -04:00
README.md commit 2025-07-06 08:00:32 -04:00

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