Skip to content

Instantly share code, notes, and snippets.

@dictcp
Last active March 12, 2019 15:38
Show Gist options
  • Save dictcp/7075398d64bc11e5a977bfb4af5994b4 to your computer and use it in GitHub Desktop.
Save dictcp/7075398d64bc11e5a977bfb4af5994b4 to your computer and use it in GitHub Desktop.
command to keep ssh keys updated
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