[clue-tech] public-key SSH works for one user but not another

Jason S. Friedman jason at powerpull.net
Fri Aug 11 15:54:29 MDT 2006


$ ssh anotherServer
Last login: Fri Aug 11 14:21:06 2006 from thisServer
Sun Microsystems Inc.   SunOS 5.8       Generic Patch   October 2001
anotherServer% exit

That's good, but ...

$ sudo su - user2
[password]

$ ssh -v anotherServer
...
debug1: Authentications that can continue:
publickey,password,keyboard-interactive
debug1: Next authentication method: publickey
debug1: Trying private key: /usr/local/apps/informatica/.ssh/identity
debug1: Offering public key: /usr/local/apps/informatica/.ssh/id_rsa
debug1: Authentications that can continue:
publickey,password,keyboard-interactive
debug1: Offering public key: /usr/local/apps/informatica/.ssh/id_dsa
debug1: Authentications that can continue:
publickey,password,keyboard-interactive
debug1: Next authentication method: keyboard-interactive
Password:

The authorized keys and id_rsa and id_rsa.pub files have all be created in
the same places, with the same permisssions on folders and files.  Does
the fact that I SU'd over to user2 make a difference?







More information about the clue-tech mailing list