[ale] ssh authorized_keys2, what am I missing?

Joe Sechman joe.sechman at gmail.com
Wed Jun 8 13:19:51 EDT 2005


make sure you have 500 permissions on the ~/.ssh directory as well....

-- 
Joe Sechman, CISSP | RHCE
--
" Being able to break security doesn't make you a hacker \
  anymore than being able to hotwire cars makes you an   \
  automotive engineer." -- Eric Raymond


On 6/8/05, Grant Robertson <f.grant.robertson at gmail.com> wrote:
> This is driving me nuts. Any suggestions appreciated.
> 
> Debian 3.1, openssh 3.8.1p1 / Putty
> 
> I'm trying to use an RSA key to authenticate an ssh client connection,
> but the key is refused. I've set logging to DEBUG in the sshd_config,
> and it does show that it's attempting the keyfiles, but it doens't
> give me detail on the failure. The authorized_keys2 file is set to 640
> (I've also tried 440, 400, 600).
> 
> I'm lost as for what to try next, any suggestions?
> 
> Relevant snippet from logs..
> 
> Jun  8 12:59:54 dev1 sshd[12255]: debug1: PAM: initializing for "groberts"
> Jun  8 12:59:54 dev1 sshd[12255]: debug1: PAM: setting PAM_RHOST to
> "xxx.xxx.xxx.xxx"
> Jun  8 12:59:54 dev1 sshd[12255]: debug1: PAM: setting PAM_TTY to "ssh"
> Jun  8 12:59:54 dev1 sshd[12255]: debug1: temporarily_use_uid: 1000/1000 (e=0/0)
> Jun  8 12:59:54 dev1 sshd[12255]: debug1: trying public key file
> /home/groberts/.ssh/authorized_keys
> Jun  8 12:59:54 dev1 sshd[12255]: debug1: restore_uid: 0/0
> Jun  8 12:59:54 dev1 sshd[12255]: debug1: temporarily_use_uid: 1000/1000 (e=0/0)
> Jun  8 12:59:54 dev1 sshd[12255]: debug1: trying public key file
> /home/groberts/.ssh/authorized_keys2
> Jun  8 12:59:54 dev1 sshd[12255]: debug1: restore_uid: 0/0
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale
>



More information about the Ale mailing list