Hi All,
I'm new to perl and facing a problem I'm using a perl
expect script to login to multiple machines (having same username and
password) and execute the date command, initially i tested on one machine,
it worked fine...but when i use a foreach loop to test the same
tried using Net::SSH2 and Net::SSH::Perl and it didn't work for me so i had
to use expect.
Thanks
On Tue, Jan 5, 2010 at 8:30 PM, Salvador Fandino wrote:
> perl_haxor 123 wrote:
>
>> Hi All,
>>
>> I'm new to perl and facing a problem I'm
Hi All,
I'm using Net::SSH2 module on windows machine, the purpose of this
script is to login to multiple devices and execute "show run" command and
print the output of the command to a text file, ...the script login to
multiple devices and executes "show run" command", reads from t
xt";
print OUTPUT "HOST: $_\n\n";
print OUTPUT "$buf\n";
print OUTPUT "\n\n\n";
print OUTPUT
"##\n\n";
close OUTPUT;
$chan->close();
}
Thanks
is there a way
to increase the timeout? (i tried setting $ssh->poll(0), but it didn't
help)..an example would be really helpful.
Thanks,
On Thu, Mar 11, 2010 at 4:31 PM, Sisyphus wrote:
>
> - Original Message - From: "perl_haxor 123"
> To: &quo
Hi All,
I have been asked to parse the log file (find the attached file)
which logs every keystroke, if you look at the log file you will see lot of
characters like RETURN, BACKSCAPE etc etcIs there a way by which i
can make sense of this log file, so that i can write a script
Hi,
Thanks a lot for the solution.i'l give it a try.
Thanks,
Monnappa
On Fri, Jul 2, 2010 at 6:29 PM, Chas. Owens wrote:
> On Fri, Jul 2, 2010 at 07:59, perl_haxor 123 wrote:
> > Hi All,
> >
> > I have been asked to parse the log file
Hi All,
I'm a beginner in perl and i try to read a file, but these files
contains characters like (^M ^G)..I wanted to know what are these
characters and how can remove them using perl?.and also please let me if
there is any link form where i can find what these characters are a
Hi All,
I have a directory in which i have multiple files, i have to read
each one of them and parse the data..but there could be some files which
are in use by some other program, how can i find which files are in use by
other program in perl?...any suggestions would be really h
wrote:
> -- Forwarded message --
> From: "shawn wilson"
> Date: Nov 2, 2010 3:12 PM
> Subject: Re: checking if a file is in use
> To: "perl_haxor 123"
>
> perlmonks has a nice article on file locks in general that might be useful
> to you. i a
10 matches
Mail list logo