Last active
June 20, 2022 15:14
-
-
Save ubergesundheit/493a35c41fea898704544256e0fe44ba to your computer and use it in GitHub Desktop.
ED25519 sshkey
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
KEY_NAME=MY-SECRET_KEY; ssh-keygen -t ed25519 -a 100 -N "" -f ~/.ssh/"${KEY_NAME}" -C "${KEY_NAME}" | |
# Explanation | |
KEY_NAME=MY-SECRET_KEY The name of the key, also used as filename | |
-t ed25519 Use a ed25519 key | |
-a 100 Use 100 key derivation function rounds (higher = slower) | |
-N "" No password | |
-f ~/.ssh/"${KEY_NAME}" Store the key at this location on your computer | |
-C "${KEY_NAME}" Set the comment to the key name |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Host * | |
Protocol 2 | |
CheckHostIP yes | |
StrictHostKeyChecking ask | |
ForwardAgent no | |
IdentityAgent none | |
ForwardX11 no | |
HostbasedAuthentication no | |
GSSAPIAuthentication no | |
GSSAPIDelegateCredentials no | |
PermitLocalCommand no | |
Tunnel no | |
Compression yes | |
Ciphers [email protected],[email protected],[email protected],aes256-ctr,aes192-ctr,aes128-ctr | |
MACs [email protected],[email protected],[email protected],hmac-sha2-512,hmac-sha2-256 | |
KexAlgorithms [email protected],diffie-hellman-group-exchange-sha256 | |
ServerAliveInterval 60 | |
Host github.com | |
Hostname github.com | |
User git | |
BatchMode yes | |
IdentityFile ~/.ssh/github-key | |
PasswordAuthentication no | |
IdentitiesOnly yes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment