No such thing as a small change | |
PerlMonks |
Net::SFTP permission denied but sftp worksby Anonymous Monk |
on Aug 18, 2003 at 07:34 UTC ( [id://284493]=perlquestion: print w/replies, xml ) | Need Help?? |
Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I am trying to implement a secure FTP transfer to a remote machine. The remote machine does NOT permit an SSH telnet session, but will allow SFTP sessions. I am able to connect using the command line 'sftp'. However when connecting to the same machine using Net::SFTP I get the following error messages:
local: Connecting to ***********, port 22. Line 37 of SFTP.pm is: $ssh->login($param{user}, $param{password}); The remote SFTP host uses public/private keys and only needs a username (ie. user@host) to login - all of which is in my code:
Any ideas what the problem might be?
Back to
Seekers of Perl Wisdom
|
|