Skip Menu |

This queue is for tickets about the LWP-Protocol-sftp CPAN distribution.

Report information
The Basics
Id: 47412
Status: resolved
Worked: 45 min
Priority: 0/
Queue: LWP-Protocol-sftp

People
Owner: salva [...] cpan.org
Requestors: RSN [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: hand when sshing to a new host
Hi! first, thanks for fixing my previous bug :). now I have a new one. if I do the example, and the host I enter I have never sshed to before (meaning that "normal" ssh would ask me if the fingerprint is ok), it will just sit there. eventually I lose patience and figure that it's not going to go. if I then "ssh myhost", choose "yes" when it asks about the fingerprint, and try the LWP-Protocol-sftp example again, it works fine. this may be a bug higher up in the dependency chain, I'm not sure.
and I meant to type "hang", not "hand" :)
Net::SFTP::Foreign version 1.52_11 detects that condition (unknown target host key). The file transfer will fail.
On Wed Jul 01 02:47:40 2009, SALVA wrote: Show quoted text
> Net::SFTP::Foreign version 1.52_11 detects that condition (unknown > target host key). > > The file transfer will fail.
thanks! looks like that worked. however it looks it still hangs when I would get output from ssh like this (you fixed the other problem, tho): jade:~# ssh asdf Warning: the RSA host key for 'asdf' differs from the key for the IP address '10.0.0.17' Offending key for IP in /root/.ssh/known_hosts:2 Matching host key in /root/.ssh/known_hosts:9 Are you sure you want to continue connecting (yes/no)? ^C
new version 1.52_12 should catch those errors also.