ssh
Tips and tricks for working with ssh
Create an SSH Key
# Create an ED25519 key pair
ssh-keygen -t ed25519 -f ~/.ssh/new_key
# Create a 4096-bit RSA key pair
ssh-keygen -t rsa -b 4096 -f ~/.ssh/new_key
# Add this to the above commands to create the key without a passphrase
-N ""
# The command will output two files (private and public key pair)
new_key
new_key.pubAdd an SSH Key to the authorized_keys file
Generate a Public Key from a Private Key
Specify a Specific SSH Key to Use
Certificate-based Authentication for SSH
Last updated