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

Robby Russell robbyrussell at pdxlug.org
Thu Jan 29 15:05:52 CST 2004


Austin Schutz typed this on 01/29/2004 12:53 PM:
> On Thu, Jan 29, 2004 at 12:45:22PM -0800, Robby Russell wrote:
> 
>>Austin Schutz typed this on 01/29/2004 12:15 PM:
>>
>>
>>>
>>>	Try using truss/strace to figure out what it is trying to open.
>>>On linux this would be:
>>>
>>>strace -o script.out -f script
>>>
>>>	then grep open script.out. Maybe there's some odd permissions 
>>>	problem.
>>
>>From the readkey area of the output:
>>
>>24548 
>>open("/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/Term/ReadKey/ReadKey.so", 
> 
> <snip>
> 
>>24548 write(1, "Password: ", 10)        = 10
>>_______________________________________________
> 
> 
> 	I think the important part is actually:
> 
> dev: Received encryption confirmation.
> dev: RSA authentication failed: Can't load public key.
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> dev: Doing challenge response authentication.
> Password:
> 
> 
> 	the part where it fails to load the pub key. It should be trying
> to open $HOME/.ssh/id_rsa.pub or similar. That is, unless I misread your
> original email. It looked like you were trying to do password-less rsa
> auth.

I was just assuming that this is where it is trying to read/load the 
key. The file exists where I am pointing it to. Not sure why it can't 
open the file to load the key.

-Robb



More information about the Pdx-pm-list mailing list