Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
26 lines (21 sloc) 569 Bytes
---
sshkeys: |-
LOCAL:
-----
Create key:
$ ssh-keygen -t dsa
Copy your ssh keys to clipboard:
$ cat ~/.ssh/id_rsa.pub | pbcopy
[rescue: skip the "| pbcopy" and just ctrl-C your key it]
REMOTE:
------
Create key files (substitute in your editor):
mkdir ~/.ssh
emacs ~/.ssh/authorized_keys
[now paste the key. save. exit.]
chmod 700 ~/.ssh
chmod 600 ~/.ssh/authorized_keys
SCP:
----
[instead of the paste, you can...]
scp ~/.ssh/id_rsa.pub username@ftp.yourdomain.com:.ssh/authorized_keys