SSH management

SSH like a pro

SSH config

Generate a new SSH key pair

RS256 key (RSA Signature with SHA-256) is an asymmetric algorithm, and it uses a public/private key pair: the identity provider has a private (secret) key used to generate the signature (you), and the consumer gets a public key to validate the signature.

Generate a new id_rsa key pair
ssh-keygen -t rsa -b 2048 -C "[email protected]"
# Enter a passphrase
# Accept the default file location
cat ~/.ssh/id_rsa
cat ~/.ssh/id_rsa.pub

Adding your SSH key to the ssh-agent

See here how to add it to your ssh-agent

~/.ssh/config
Host *
 AddKeysToAgent yes
 UseKeychain yes

Last updated