Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^4: Using SSH and SCP in a perl script with taint flag

by stefl (Acolyte)
on May 29, 2015 at 14:20 UTC ( [id://1128284]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Using SSH and SCP in a perl script with taint flag
in thread Using SSH and SCP in a perl script with taint flag

Thanks very much salva, your advice was brilliant. Got it working now, you've saved me days of frustration! For anyone else in my situation who is new to this stuff, I fixed this by adding the ctl_dir option:  my $ssh = Net::OpenSSH->new($host, user=>$user, ctl_dir=>$ctldir);. I created the $ctldir (called .libnet-openssh-perl) within my /var/www directory and ensured the owner was www-data.
I hope this can help someone else too! Thanks again salva, legend!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (3)
As of 2024-04-16 18:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found