Skip to content

Instantly share code, notes, and snippets.

@costa86
Last active July 29, 2021 15:09
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 costa86/322dbbb1150ea585932517c080173e5b to your computer and use it in GitHub Desktop.
Save costa86/322dbbb1150ea585932517c080173e5b to your computer and use it in GitHub Desktop.
Create SSH keys PowerShell
$number = 100
$path = "<where the key will be stored>"
$keyname = Read-Host "Please enter your keyname"
$comment = $keyname
ssh-keygen -a $number -t ed25519 -f $path$keyname -C $comment
ssh-add $path$keyname
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment