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

Re: net sftp help

by fizbin (Chaplain)
on Mar 17, 2006 at 21:07 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (4)
As of 2024-04-25 12:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found