Skip to content

Instantly share code, notes, and snippets.

@atomicstack
Created March 22, 2021 09:18
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save atomicstack/c492410752f13dedd1f652e1f073a1d6 to your computer and use it in GitHub Desktop.
Save atomicstack/c492410752f13dedd1f652e1f073a1d6 to your computer and use it in GitHub Desktop.
ssh-key creation helper, 2021
key_name="${USER}_$(hostname -s)_$(date +%F)"; echo "creating $HOME/.ssh/${key_name}.pem..."; ssh-keygen -t ed25519 -f "$HOME/.ssh/${key_name}.pem" -C "$key_name"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment