Uploading SSH keys to a new account

I can never remember what the names of these files are, so this is a simple reminder to myself:

$: scp ~/.ssh/id_rsa.pub mysite.com:~
$: ssh mysite.com

on mysite.com:

$: mkdir .ssh
$: mv id_rsa.pub .ssh/authorized_keys

Tags: ssh  Meta: 0 comments, permalink