Skip to content

Instantly share code, notes, and snippets.

@T99
Last active March 21, 2022 13:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save T99/1f26b22bfd96e16b597614819dae1cf0 to your computer and use it in GitHub Desktop.
Save T99/1f26b22bfd96e16b597614819dae1cf0 to your computer and use it in GitHub Desktop.
Create an SSH key
#!/bin/bash
ssh-keygen -f "$HOME/.ssh/ids/$1-to-$2" -t "rsa-sha2-512" -C "Keyfile for: $3"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment