You are not logged in.

#26 2010-08-30 10:25:37

mir
Member
Registered: 2010-08-25
Posts: 59

Re: [Solved] Using SSH Keys instead of password auth

Hmmm ... perhaps a line break or a space in the authorized_keys file in the wrong place? It's easy insert one by accident when using cut-and-paste.

Offline

#27 2010-08-30 18:18:23

vendion
Member
From: Tennessee, USA
Registered: 2010-03-10
Posts: 204
Website

Re: [Solved] Using SSH Keys instead of password auth

Are you talking about the file name or the contents in the file itself?  The filename itself is correct, no trailing whitespace or anything and is correctly spelled, as for the file contents itself I can't see anything wrong with it I populated it using

cat id_rsa.pub >> ~/.ssh/authorized_keys

Anyways I have found the problem, it was in my sshd_config this line was wrong

AuthorizedKeysFile      .ssh/authorized_keys

I was able to correct it restart the ssh daemon and it is working, all that is left is figuring out what is wrong with shh on my Mac.

Thanks everyone for the help in this matter.

Offline

#28 2010-08-30 18:50:56

mir
Member
Registered: 2010-08-25
Posts: 59

Re: [Solved] Using SSH Keys instead of password auth

Ah, and it would have been so easy to spot sad

I meant the contents of the file. The problem cannot happen if you use cat smile

Offline

Board footer

Powered by FluxBB