in reply to Re^3: Net::SFTP connection failure
in thread Net::SFTP connection failure

Hi,

That is a "shell" around the ssh commands right ?... but it might work and be faster... but the lack of windows support is a down for me... simplebackup is suppose to be cross-platform...
But i will look into it

Thanks !

Migas - Miguel

Replies are listed 'Best First'.
Re^5: Net::SFTP connection failure
by salva (Canon) on Sep 21, 2006 at 10:50 UTC
    That is a "shell" around the ssh commands right ?

    Well, no!

    Net::SFTP::Foreign uses the ssh binary to connect to the remote server but the SFTP protocol that runs over the SSH connection is fully implemented in Perl. Initially it was a fork of Net::SFTP, but I have almost completelly rewritten it.

    It should work on Windows but it doesn't, I believe that it is actually a bug on the cygwin port of OpenSSH. Unfortunatelly my lack of knowledge of the Windows platform has not allowed me to resolve that issue (patches would be very welcome!). Another posibility would be to use the Putty plink utility instead of OpenSSH.