DSA keys
RSA/DSA keys are great because typing in you password every time is so tedious, especially if you do a lot of scping. I do it rarely enough that I always forget how to set it up and have to scour the interweb for it.
On the computer you are sshing from:
ssh-keygen -t dsa
I don't use a passphrase. I don't think it really matters.
Then
scp .ssh/id_dsa.pub brian@other_computer:./.ssh/authorized_keys
If authorized_keys already exists you'll want to append to that file....
On the computer you are sshing from:
ssh-keygen -t dsa
I don't use a passphrase. I don't think it really matters.
Then
scp .ssh/id_dsa.pub brian@other_computer:./.ssh/authorized_keys
If authorized_keys already exists you'll want to append to that file....
1 Comments:
also you may need to:
chmod 700 .ssh
chmod 600 .ssh/authorized_keys
By brian, at 1:01 PM
Post a Comment
<< Home