Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: net sftp help

by fizbin (Chaplain)
on Mar 17, 2006 at 21:07 UTC ( #537577=note: print w/replies, xml ) Need Help??


in reply to net sftp help

Try this syntax:
$sftp = Net::SFTP->new("myhost" , user=>"me", ssh_args => [ identity_files => [ "PATH/.ssh/id_rsa" ,"PATH/.ssh/myi +d_file"], debug => '1', options => ["RhostsAuthenication no"] ] +);

Note that I used [], not parentheses around ssh_args; I also used brackets for "options". Also notice that I said identity_files, not identify_files.

--
@/=map{[/./g]}qw/.h_nJ Xapou cets krht ele_ r_ra/; map{y/X_/\n /;print}map{pop@$_}@/for@/

Replies are listed 'Best First'.
Re^2: net sftp help
by perlknight (Pilgrim) on Mar 18, 2006 at 16:52 UTC
    Thanks. This seems to work for me.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (3)
As of 2022-08-18 01:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?