ssh key example
Example 1: copy ssh keys
pbcopy < ~/.ssh/id_rsa.pub
Example 2: linux create public key
ssh-keygen -t rsa -C "[email protected]"
Example 3: github private key
$ ssh-keygen -t rsa -b 4096 -C "[email protected]"
Example 4: how to generate ssh key in linux
ssh-keygen -t rsa -b 4096
ssh-keygen -t dsa
ssh-keygen -t ecdsa -b 521
ssh-keygen -t ed25519
Example 5: ssh keygen
ssh-keygen -t rsa -C [email protected]
Example 6: ssh with key
ssh -i ~/.ssh/id_rsa.pub [email protected] -p25