in reply to Net::SFTP connection failure

I would drop password authentication and try RSA key authentication. There's a HOWTO here:

How to Use RSA Key Authentication with SSH

Replies are listed 'Best First'.
Re^2: Net::SFTP connection failure
by migas (Novice) on Sep 21, 2006 at 08:48 UTC
    Hello again Khen1950fx,

    Man is this sftp thing hard... i have done in perl ftp ; web dav ; smtp mail... but this encryption thing is hard....
    I would like to allow key authentication, but i also want the user to simply type in a user/password in my backup program (simplebackup) configuration file... so he would not have to have the trouble of creating configuration keys etc...
    For the simplebackup program i want to make life has easy has possible for the end user

    Any way thanks !
    Migas - Miguel