Skip to content

Instantly share code, notes, and snippets.

@jasperf
Last active February 6, 2024 11:55
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 jasperf/0f32b131544044700f427ca8dc7fa688 to your computer and use it in GitHub Desktop.
Save jasperf/0f32b131544044700f427ca8dc7fa688 to your computer and use it in GitHub Desktop.
Ssh Key Generation for server access via ssh
ssh-keygen -t rsa -C "jasper@doamin.com" -f ~/.ssh/name
ssh-keygen -t rsa -b 4096 -f ~/.ssh/name
@jasperf
Copy link
Author

jasperf commented Feb 6, 2024

Host site.nl
    User youruser
    HostKeyAlgorithms ssh-rsa
    PubkeyAcceptedKeyTypes ssh-rsa
    IdentityFile ~/.ssh/private_key

in case the server is playing up and won't deal with more modern algorithms

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment