[Pdx-pm] Net::SSH::Perl

Tom Phoenix rootbeer at redcat.com
Thu Jan 29 16:19:35 CST 2004


On Thu, 29 Jan 2004, Robby Russell wrote:

> 24737 write(2, "dev: RSA authentication failed: "..., 55) = 55

By the time it writes that message, the failure has already happened. Look
further back to find the actual failure. Where was the system call that
tried and failed to get the RSA key?

> user1 can at the bash shell go, ssh remoteuser at remotehost
> logs in, no questions asked

> user1 executes script which runs doesn't run as any other user, gets 
> prompted for password.

Are all of the environment variables the same in both cases? Did the same
login scripts (or whatever) get executed? Are they using the same working
directory? Are the UIDs really the same? And so on... You know that
_something_ is different between the two cases -- it doesn't matter how
much is the same; it's what's different that counts. 

--Tom Phoenix



More information about the Pdx-pm-list mailing list