From: "Sandor Szücs" Date: 2008-07-23T00:52:37+09:00 Subject: Re: interacting with a shell script (ssh) On 22.07.2008, at 16:54, Une Bévue wrote: >> Login without sending a password over the network by use of public/ >> private key >> method. > > It's what i've done but working only when using ssh_agent. > >> Read wikipedia or other resources, there are really thousands >> of good >> ones. > > didn't see anyone explaining why key auth works with ssh_agent and not > directly and also why, when logged as root it works directly. Ok you did your homework. :) Without information I can just guess, but I think it has to be a configuration failure. Maybe you should ask better a ssh-user mailinglist. secureshell@securityfocus.com Provide them your ssh version and output of ssh -vvv, then I am sure they will understand and solve your problem. regards, Sandor Szücs --