[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ssh publickey auth



On Tuesday 14 September 2004 15:58, Dale Amon wrote:
> I've an application that needs a secure automatic login
> from an application program, between particular accounts
> on particular machines.
>
> I know this used to work (a few years ago!) but I
> am having difficulty this time around getting it going.
>
> I'm using a public key for the connection, with null
> password given when asked by the ssh-keygen.
>
> The destination machine accepts that the publickey
> is valid but asks for a passphrase nonetheless. It
> doesn't accept a return for null password either, it
> falls back on normal password log in.
>
> As I said, I've not done this particular set up in,
> oh, 6 years, so I would not be surprised if there
> were changes in the debian defaults for sshd, pamd,
> the way ssh handles things etc, etc.
>
> A suggestion or three would be appreciated.

i had the same problem just a few days ago on a newly installed computer.
the solution was that on one particular machine the /home/.ssh-directory for 
this user was generated by ssh-keygen with the wrong permission (it was 
worldwritable for some reason, did not go into details to figure out why)
i'm not sure, wether this will do in your case, but try <ssh -v> to get all 
the stuff, that's how i finally noticed what went wrong.

hope it helps
	bye felix
	
--
felix wissel
institut fuer festkoerperphysik
TU Darmstadt
--



Reply to: