in reply to Re^2: instantiating an SFTP object
in thread instantiating an SFTP object
Try reading the latest docs for Net::SSH2. maybe that syntax has changed a bit. $pass is the password for your ssh key, not the login account# works when run from z's homedir because you need # permission to read the keys $ssh2->auth_publickey('z', '/home/z/.ssh/id_dsa.pub', '/home/z/.ssh/id_dsa', $pass );
P.S. use ssh2, ssh1 is very outdated
|
|---|