BrainBound

Git, GitHub, and SSH


To copy your public RSA key to any remote VM:

ssh-copy-id -i ~/.ssh/id_rsa.pub <username>@<vm-address>

Generating SSH key pair (to be done only once generally)

cd ~/.ssh
ssh-keygen -o -t rsa -C "<your-email>"

To view public SSH key

cat ~/.ssh/id_rsa.pub