Why doesn't PPM work for you (I assume you mean the manager shipped with ActivePerl)? And why don't you try Net::SSH or Net::SSH::Perl?
When i start ppm in dos, it takes a while before i have control over it as it Synchronizing with the database. I only see the packages i have in my list. i get the following error.
I'm then not able to install any packages. I also have my firewall turned off.
I have downloaded NET::SSH and NET::SSH::PERL,
and installed them using nmake in windows.
But they require to have the pari installed or gmp installed.
SSH1 uses the following NET::SSH:PERL:SSH1
I have also tried that.
Additionally,
ppm seems to only have the packages i have installed, i don't know if this is true. I only think so because it does not allow me to install any of the packages in its list.
Last edited by Phi01; 02-26-2009 at 01:28 PM..
Reason: Additional Note.
I want to replace a Perl module name in all my Perl Scripts in the cgi-bin directory. How is it possible?
I have the following statement in my scripts
use myUtil;
I want to change it to
use myUtil777;
Regards,
Rahul (2 Replies)
Couple questions on perl module..
1)where is the best place on web where it tells you what modules can do?
For example,
use Text::Autoformat
Where is the best place on line or via command line to find the exact capability of autoformat?
2)Is there already a perl module to read *.cap... (1 Reply)
Hi All,
I am using a perl module Win32::AdminMisc in my perl script.
When i running in activestate perl v5.10.0 it shows folling error ---
Can't locate loadable object for module Win32::AdminMisc in @INC (@INC contains: C:/Perl/site/lib C:/Perl/lib .) at example.pl
Please reply.
... (7 Replies)
I dont know if this is a dumb question, but I am unable to move ahead and need help -
There is a perl module called Header.pm which was written by someone else. I am trying to write a simple perl script which uses a function provided by the module. The function has been exported by the module... (9 Replies)
Hi
i have written a perl script which was then converted to perl module by me. it works as expected. but i have to put it on many servers so i want to build a package for it. i dont know how to do that. just to check i copied perl module in "lib" directory which is working. ( directly copied... (1 Reply)
Hi,
I need to read an excel binary file and write the data to a text file. Is it possible using Spreadsheet-ParseExcel-0.58 ? If not, is there any module available in CPAN to do this?
Thanks,
Js (1 Reply)
All,
Is it possible to call a subroutine from the perl expect module after logging to a system that is within the same program. My situation is I need to run a logic inside a machine that I'm logging in using the expect module, the logic is also available in the same expect program.
Thanks,... (5 Replies)
I'm trying to create a perl script that will do 1 SSH session, but be able to write multiple commands to the session and receive multiple outputs. I know there are modules out there like Net:SSH::Perl, but I'm not allowed to use it. I was thinking of doing something like an open3 on an ssh... (4 Replies)
I am recieiving an out of memory issue in my perl module while updating the records in the oracle table. Let me know what are the check or troubleshoot steps need to be done from my end to fix the issue. (1 Reply)
I took the copy of the production module to the home directory and executing the module.
one of the test prdmsk.pm module is present in the home directory ctskk. would like to know whether the below syntax is correct.
use strict;
use lib "/home/ssprod/ctskk";
use lib::Prdmsk;
... (0 Replies)
Discussion started by: ramkumar15
0 Replies
LEARN ABOUT DEBIAN
net::cli::interact::transport::ssh
Net::CLI::Interact::Transport::SSH(3pm) User Contributed Perl Documentation Net::CLI::Interact::Transport::SSH(3pm)NAME
Net::CLI::Interact::Transport::SSH - SSH based CLI connection
VERSION
version 1.121640
DECRIPTION
This module provides a wrapped instance of an SSH client for use by Net::CLI::Interact.
INTERFACE
app
On Windows platforms you must download the "plink.exe" program, and pass its location to the library in this parameter. On other platforms,
this defaults to "ssh" (openssh).
runtime_options
Based on the "connect_options" hash provided to Net::CLI::Interact on construction, selects and formats parameters to provide to "app" on
the command line. Supported attributes:
host (required)
Host name or IP address of the host to which the SSH application is to connect. Alternatively you can pass a value of the form
"user@host", but it's probably better to use the separate "username" parameter instead.
username
Optionally pass in the username for the SSH connection, otherwise the SSH client defaults to the current user's username. When using
this option, you should obviously only pass the host name to "host".
ignore_host_checks
Under normal interactive use "openssh" tracks the identity of connected hosts and verifies these identities upon each connection. In
automation this behaviour can be irritating because it is interactive.
This option, enabled by default, causes "openssh" to skip or ignore this host identity verification. This means the default setting is
less secure, but also less likely to trip you up. It is equivalent to the following:
StrictHostKeyChecking=no
UserKnownHostsFile=/dev/null
CheckHostIP=no
Pass a false value to this option to disable the above and return "openssh" to its default configured settings.
opts
If you want to pass any other options to openssh on its command line, then use this option, which should be an array reference. Each
item in the list will be passed to "openssh", separated by a single space character. For example:
$s->new({
# ...other parameters to new()...
connect_options => {
opts => [
'-p', '222', # connect to non-standard port on remote host
'-o', 'CheckHostIP=no', # don't check host IP in known_hosts file
],
},
});
reap
Only used on Unix platforms, this installs a signal handler which attempts to reap the "ssh" child process. Pass a true value to enable
this feature only if you notice zombie processes are being left behind after use.
COMPOSITION
See the following for further interface details:
o Net::CLI::Interact::Transport
AUTHOR
Oliver Gorwits <oliver@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2012 by Oliver Gorwits.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
perl v5.14.2 2012-06-12 Net::CLI::Interact::Transport::SSH(3pm)