BMI Students

Monday, March 27, 2006

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.
scp .ssh/ brian@other_computer:./.ssh/authorized_keys

If authorized_keys already exists you'll want to append to that file....


  • also you may need to:
    chmod 700 .ssh
    chmod 600 .ssh/authorized_keys

    By Blogger brian, at 1:01 PM  

Post a Comment

<< Home