Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 292 Bytes

generate-ssh-keys.md

File metadata and controls

11 lines (8 loc) · 292 Bytes

I had to generate an SSH key for the x time so I thought I'd document the basic command for future reference.

ssh-keygen -d rsa -b 4096 <keyname>

Don't bother copying the public key to a remote server manually. ssh-copy-id FTW!

ssh-copy-id -i <keyname> <user>@<server>