https://github.com/ohmydevops/syncer
Sync my ssh public keys with my server
https://github.com/ohmydevops/syncer
Last synced: 3 months ago
JSON representation
Sync my ssh public keys with my server
- Host: GitHub
- URL: https://github.com/ohmydevops/syncer
- Owner: ohmydevops
- Created: 2022-12-26T18:51:53.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-12-29T15:06:07.000Z (over 3 years ago)
- Last Synced: 2023-08-02T13:57:43.814Z (almost 3 years ago)
- Size: 7.81 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Syncer
Sync SSH public keys on my GitHub with my server (Every 5 minutes)
```shell
➜ ~ crontab -e
➜ ~ */5 * * * * /usr/bin/wget https://github.com/USER_NAME.keys -O /tmp/authorized_keys.tmp && \
mv /tmp/authorized_keys.tmp /root/.ssh/authorized_keys && echo "Done"
```