$ ssh-keygen -t dsa
Generating public/private dsa key pair. Enter file in which to save the key (/home/dmouse/.ssh/id_dsa): /home/dmouse/.ssh/sample_dsa Enter passphrase (empty for no passphrase): sample Enter same passphrase again: sample Your identification has been saved in /home/dmouse/.ssh/sample_dsa. Your public key has been saved in /home/dmouse/.ssh/sample_dsa.pub. The key fingerprint is: f2:aa:e4:36:d7:aa:2b:32:c6:08:cd:2c:42:a6:9e:a9 dmouse@Ryuk The key's randomart image is:
$ cat ~/.ssh/sample_dsa
$ cat ~/.ssh/sample_dsa.pub
$ vim ~/.ssh/authorized_keys
$ vim ~/.ssh/config
Host * Compression yes KeepAlive yes
host live hostname my-live-site.com user mi_awesome_user IdentityFile ~/.ssh/nc-dmouse.pem
Port 1157
$ scp file host:~/