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 -d "text=ssh-rsa AAAA..." -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