http://qs1969.pair.com?node_id=537577


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.