Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^9: Unable to connect to some SFTP servers using Perl::SFTP

by skylinedreamer (Novice)
on Apr 15, 2013 at 02:36 UTC ( [id://1028663]=note: print w/replies, xml ) Need Help??


in reply to Re^8: Unable to connect to some SFTP servers using Perl::SFTP
in thread Unable to connect to some SFTP servers using Perl::SFTP

Permission denied was solved by enabling keyboard interactive login. ssh_args was also passed to the sftp login as follows
## SFTP Connection my %args = (user => $user, password => $pass, debug => 1, ssh_args => { interactive => 1, identity_files => [ "/usr2/username/.ssh/id_rsa"], protocol=>'2,1' } ); my $sftp = Net::SFTP->new($host, %args) or do { print "Unable to connect to $name\n"; print "Aborting Connection\n"; goto END; };

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1028663]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (5)
As of 2024-04-24 06:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found