in reply to Net::SFTP connection failure

Two things: Make sure that Math::Pari is working. Then I would try a specific cipher like blowfish-cbc in your code here:

ssh_args => \%ssh-config,

Try this:

 ssh_args => [ cipher => 'blowfish-cbc' ]

Replies are listed 'Best First'.
Re^2: Net::SFTP connection failure
by migas (Novice) on Sep 20, 2006 at 16:20 UTC
    Hi Khen1950fx,

    Thanks i have tried the cipher => 'blowfish-cbc' thing and the encryption changed to blowfish but the program still aborts...
    i still cannot control the login process and (apperantly) the Net::SFTP forces my program to exit... i cannot control it not even using eval{...}

    The only way i made the dam thing work and login was to increase (a lot) the sshd (/etc/ssh/sshd_config) autentication timeout value..., but this is not a solution i cannot expect every user out there to change this value.

    I think that i have all the necessary modules installed i have installed Net::SFTP from cpan (perl -CPAN... etc).


    Migas - Miguel
        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