Re: Net::Openssh and sudo?

2012-01-30 Thread Salvador Fandino
On 01/29/2012 07:53 AM, Rajeev Prasad wrote: Hi Salva, thx, but the installed sudo version does not have -S option. so i am not sure how will i then pass the password Yes, with older versions of sudo, using Expect is probably the best way. That may also work: my $output = $ssh->captur

Re: Implementation of sFTP using Perl

2012-01-30 Thread Salvador Fandino
On 01/12/2012 06:16 PM, Wagner, David --- Sr Programmer Analyst --- CFS wrote: > > I need to change from FTP to sFTP and want to use a Perl > implementation verses using sFTP application bound within Perl scripts. > I will be running from Linux and pulling data either from MVS or > Win