Information Technology Grimoire

Version .0.0.1

IT Notes from various projects because I forget, and hopefully they help you too.

ssh keys

SSH Keys

Generate

Generate the key on your client using mac, cygwin, or any linux cli

ssh-keygen -t ed25519 -C "some note so you know about this key"

Copy

Copy the public Key from CLIENT

cat ~/.ssh/id_ed25519.pub
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJ2Y5NZdThMB8VhGc32EZovvtfnw2HpQIvzjbiboXdp1 dave@somesite.com

Put

Put the public key on the server you are connecting to in the

vim ~/.ssh/id_ed25519.pub
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJ2Y5NZdThMB8VhGc32EZovvtfnw2HpQIvzjbiboXdp1 dave@somesite.com

Use

Use the key to connect from client to server:

ssh -i ~/.ssh/id_ed25519 user@server