Skip to content

Instantly share code, notes, and snippets.

@goncalor
Created February 19, 2020 00:22
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 goncalor/16c9efa0e7db21f8f5b1d482c8026850 to your computer and use it in GitHub Desktop.
Save goncalor/16c9efa0e7db21f8f5b1d482c8026850 to your computer and use it in GitHub Desktop.
# gen a new RSA key
ssh-keygen -t rsa -b 4096 -f /home/user/.ssh/whatever
# .ssh/config
Host host.local
PreferredAuthentications publickey
IdentityFile ~/.ssh/whatever
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment