I deleted my .ssh folder, changed my root password, then logged back into my account (mediatemple).

Now I did used the nano command to create the .ssh folder, and inside it the authorized_keys file that will store my public key.

is this correct so far?

link|improve this question

28% accept rate
nano is a file editor. You can make directories using the mkdir command. – Dennis Williamson Nov 26 '09 at 13:16
feedback

2 Answers

Well, the permissions need to be set correctly if you want authorized_keys to work.

I usually generate a set of keys and have it done automatically. :)

ssh-keygen -t dsa

fyi; the correct rights are like this:

700 on the .ssh directory
600 on the authorized_keys file.

Owner is the user.

link|improve this answer
feedback

yes - sounds ok to me

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.