only root without password

Fede Rico fede_home at yahoo.it
Sat Dec 20 07:02:00 EST 2008


Hi,
for both root and oracle user:
ssh-add -l
Could not open a connection to your authentication agent.
ssh-add -L
Could not open a connection to your authentication agent.

I changed the home perimission, same result.
I will try to use a sshd with -ddd options and try to see why I have this issue.

Federico


--- Ven 19/12/08, Bob Proulx <bob at proulx.com> ha scritto:

> Da: Bob Proulx <bob at proulx.com>
> Oggetto: Re: only root without password
> A: "Fede Rico" <fede_home at yahoo.it>
> Cc: openssh-unix-dev at mindrot.org
> Data: Venerdì 19 dicembre 2008, 18:18
> Fede Rico wrote:
> > this is the .ssh permission:
> > 
> > .ssh
> > 4,0K drwx------ 2 oracle oinstall 4,0K 2008-12-04
> 22:44 .ssh
> > 
> > .ssh/
> > 4,0K -rw-r--r-- 1 oracle oinstall  859 2008-12-04
> 22:44 authorized_keys
> > 4,0K -rw------- 1 oracle oinstall 1,7K 2008-12-04
> 22:39 id_rsa
> > 4,0K -rw-r--r-- 1 oracle oinstall  403 2008-12-04
> 22:39 id_rsa.pub
> > 4,0K -rw-r--r-- 1 oracle oinstall 1,5K 2008-12-17
> 19:07 known_hosts
> 
> You did not show the permissions on the home directory. 
> Those are
> also considered and are often the source of problems.
> 
>   chmod go-w $HOME
> 
> > The ssh works without the password for the
> "root" user, any other user
> > cannot use the key and ssh ask me for the password !!
> 
> It is possible that root has an ssh-agent and the ssh-agent
> has an
> authorized key loaded but the non-root user does not?  That
> could give
> the appearance of what you describe.
> 
>   ssh-add -l
>   ssh-add -L
> 
> Bob


      


More information about the openssh-unix-dev mailing list