Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Processing files in remote machine

by Corion (Pope)
on Jan 10, 2013 at 13:20 UTC ( #1012658=note: print w/ replies, xml ) Need Help??


in reply to Processing files in remote machine

You will need to provide far more context than you did.

As a long shot, I use the following to locally process the contents of a file that is stored encrypted on a machine reachable through ssh:

... my $remote_file = "Storage/bar20100722.gz.gpg"; open my $fh, "ssh corion\@storage cat $remote_file | gpg2 --decrypt - +| gunzip -cd |" or die "Couldn't open '$remote_file' "; }; ...


Comment on Re: Processing files in remote machine
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (6)
As of 2015-07-05 05:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (60 votes), past polls