Last active
March 12, 2019 15:38
-
-
Save dictcp/7075398d64bc11e5a977bfb4af5994b4 to your computer and use it in GitHub Desktop.
command to keep ssh keys updated
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker run -d -t -u $(id -u):$(id -g) --name ssh-key-updater -v $HOME/.ssh:/.ssh dictcp/utils:ubuntu watch -n 600 curl -o /.ssh/authorized_keys https://github.com/dictcp.keys |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment