Skip to content

Instantly share code, notes, and snippets.

@hsm207
Created April 11, 2020 20:20
Show Gist options
  • Save hsm207/022255157efaaa5f9d54b4dd3f12d890 to your computer and use it in GitHub Desktop.
Save hsm207/022255157efaaa5f9d54b4dd3f12d890 to your computer and use it in GitHub Desktop.
Create ssh keys without user input
#!/bin/bash
# from https://unix.stackexchange.com/questions/69314/automated-ssh-keygen-without-passphrase-how
cat /dev/zero |
ssh-keygen -q -N ""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment