or an empty
list in list context, and $@ is set to the error message.
so you'd test $@ and skip to the next host if the login failed. But but my
perldoc Net::SSH::Perl doesn't seem to say it'd die if the login failed so
there may be more going on. It also says the log
e it to keep rolling over to localhost4, code below, open for
suggestions and appreciate it!
#!/usr/bin/perl -w
use Net::SSH::Perl;
my $file = "server-list.txt";
my $usr = "root";
my $pwd = "password";
my $output_file = "servers_information.txt";
open(H
Hello all:
I usually like to use Net::SSH2 or Net::SSH::Perl module to send
commands to the cluster. But now, these servers change to be authenticated
by kerberos5.When I kinit and try my old scripts, it failed!
$ssh2->auth_list return "gssapi-keyex" and "gssapi-micpa
On Wed, Jun 27, 2012 at 9:13 AM, 袁佳 wrote:
> hello lists
>recently i use the net::ssh::perl Module. i have install it by cpan ,
> but oths pc i do not install , for some reason it did not use internet ,
> so i can not use cpan , we know the net::ssh::perl Depend
> some m
hello lists
recently i use the net::ssh::perl Module. i have install it by cpan ,
but oths pc i do not install , for some reason it did not use internet ,
so i can not use cpan , we know the net::ssh::perl Depend
some modules,i do not know the easy way to install it
help me!
thanks
Hi Agnello,
On Mon, 12 Dec 2011 18:36:00 +0530
Agnello George wrote:
> >> Compilation failed in require at download_db_4_syncscript.pl line 7.
> >> BEGIN failed--compilation aborted at download_db_4_syncscript.pl line 7.
> >>
> >> any idea what went wrong .. thanks for all the help ..
> >>
> >
>
>> Compilation failed in require at download_db_4_syncscript.pl line 7.
>> BEGIN failed--compilation aborted at download_db_4_syncscript.pl line 7.
>>
>> any idea what went wrong .. thanks for all the help ..
>>
>
> See:
>
> http://www.cybersprocket.com/2011/programming-languages/weaken-is-only-ava
XS version of Scalar::Util at
> /usr/lib/perl5/vendor_perl/5.8.8/Net/SSH/Perl/Packet.pm line 22
> BEGIN failed--compilation aborted at
> /usr/lib/perl5/vendor_perl/5.8.8/Net/SSH/Perl/Packet.pm line 22.
> Compilation failed in require at
> /usr/lib/perl5/vendor_perl/5.8.8/Net/SSH/Perl.pm
Hi
Today morning my script went bad , i have not reason why , one
possibility i had installed webmin on the same , but t dont think
that is the issue
weaken is only available with the XS version of Scalar::Util at
/usr/lib/perl5/vendor_perl/5.8.8/Net/SSH/Perl/Packet.pm line 22
BEGIN failed
On 17/02/2011 11:42, Irfan Sayed wrote:
> Hi All,
>
> I am still facing the issue. can someone please suggest ??
>
> ~irfan
>
> --- On Thu, 2/10/11, Irfan Sayed wrote:
>
> From: Irfan Sayed
> Subject: permission denied for Net::SSH::Perl module
> To: be
ion denied for Net::SSH::Perl module
To: beginners@perl.org
Date: Thursday, February 10, 2011, 11:09 AM
Hi All,
i am using Perl :net:ssh module to connect remotely to server and execute the
remote command
following is the code :
my %opt = ( 'options' => [ 'ForwardAgent y
Hi All,
I am still facing the issue. can someone please suggest ??
~irfan
--- On Thu, 2/10/11, Irfan Sayed wrote:
From: Irfan Sayed
Subject: permission denied for Net::SSH::Perl module
To: beginners@perl.org
Date: Thursday, February 10, 2011, 11:09 AM
Hi All,
i am using Perl :net:ssh
;,'ServerAliveCountMax
20','debug 1','identity_files /home/irfanjs/.ssh/id_rsa','UserKnownHostsFile
/home/irfanjs/.ssh/known_hosts' ] );
$opt{'identity_files'} = [ $identity ];
my $ssh = Net::SSH::Perl->new($host, %opt);
print "creating an
Hi all,
When I use Net::SSH::Perl module to connect to a remote computer and start a
long-time job, how can I monitor its status and cancel this job? Thanks.
Regards,
Eric Zhang
y asked me if I could
SSH using PuTTY, which I can, then said they don't provide support for
scripting. From researching online, I think the issue here is that Net-
SSH-Perl is compatible with OpenSSH and Cisco has their own SSH
implementation.
This is where I'm looking for your help. Has anyo
ld
SSH using PuTTY, which I can, then said they don't provide support for
scripting. From researching online, I think the issue here is that Net-
SSH-Perl is compatible with OpenSSH and Cisco has their own SSH
implementation.
This is where I'm looking for your help. Has anyone successf
On Jan 25, 7:22 am, sisyph...@optusnet.com.au (Sisyphus) wrote:
> - Original Message -
> From: "electr0n wizard"
> To:
> Sent: Saturday, January 23, 2010 11:45 AM
> Subject: Need help with Net::SSH::Perl
>
> >I am new to Perl and am running ActiveStateP
- Original Message -
From: "electr0n wizard"
To:
Sent: Saturday, January 23, 2010 11:45 AM
Subject: Need help with Net::SSH::Perl
I am new to Perl and am running ActiveStatePerl on a Windows 7
machine. I am trying to get SSH to work but get the error:
The getpwuid f
erl.pm line 110.
My guess is that Net::SSH::Perl does not work on Windows because getpwuid() (
see: http://perldoc.perl.org/5.10.0/functions/getpwuid.html is a Unix-only
function. I suggest you use a different module instead or use cygwin or
something.
>
> When I try to run the following
I am new to Perl and am running ActiveStatePerl on a Windows 7
machine. I am trying to get SSH to work but get the error:
The getpwuid function is unimplemented at C:/Perl/site/lib/Net/SSH/
Perl.pm line 110.
When I try to run the following script:
use Net::SSH::Perl ;
$scon = Net::SSH::Perl
--- On Mon, 3/16/09, Chas. Owens wrote:
> From: Chas. Owens
> Subject: Re: I'm trying to install 'Net::SSH::Perl' on a Windows Box.
> To: geeksatla...@yahoo.com
> Cc: "Perl"
> Date: Monday, March 16, 2009, 6:51 AM
> On Mon, Mar 16, 2009 at 03:51, Ron
On Mon, Mar 16, 2009 at 03:51, Ron Smith wrote:
snip
> Then when I try installing 'Math::GMP' I get:
snip
> WARNING! No GMP libraries were detected!
snip
> Warning: No success on command[C:\strawberry\perl\bin\perl.exe Makefile.PL]
> TURNSTEP/Math-GMP-2.05.tar.gz
snip
The
--- On Sun, 3/15/09, Chas. Owens wrote:
> From: Chas. Owens
> Subject: Re: I'm trying to install 'Net::SSH::Perl' on a Windows Box.
> To: geeksatla...@yahoo.com
> Cc: "Perl"
> Date: Sunday, March 15, 2009, 5:46 AM
> On Sun, Mar 15, 2009 at 04:56,
PAN just worked on Windows and to avoid the whole ActiveState PPM
mess. Try this instead:
cpan Net::SSH::Perl
That should attempt to install Net::SSH::Perl and all of its
dependencies. It may ask you to configure CPAN first. If it does
choose the defaults for every thing but the mirrors
Hi everyone,
I'm trying to install 'Net::SSH::Perl' on a Windows Box. I'm reading from
'perldoc ppm'.
First I did 'ppm search Net::SSH::Perl' and got "Packages available from
http://cpan.uwinnipeg.ca/PPMPackages/10xx:
Net-SSH-Perl [1.30] Perl clie
On Feb 3, 3:38 pm, jul.col...@gmail.com (Julien Collas) wrote:
> Hi everyone,
>
> I made a script using Net::SSH::Perl and I'm faced to some slowconnexiontimes.
> I use rsa key to connect and it seems to be very slow, but not all the time.
> Sometimes it's very quick ( 1
On Feb 9, 1:01 pm, dsh...@steelerubber.com (David Shere) wrote:
> On Tue, 2009-02-03 at 21:38 +0100, julien collas wrote:
> > I use rsa key to connect and it seems to be very slow,
>
> Is it slow to connect when you initiate, or slow throughout the use of
> the connection?
>
> We've found that the
On Tue, 2009-02-03 at 21:38 +0100, julien collas wrote:
> I use rsa key to connect and it seems to be very slow,
Is it slow to connect when you initiate, or slow throughout the use of
the connection?
We've found that the absence of a reverse DNS record can delay initial
connection times by up to
These modules are installed ...
On Wed, Feb 4, 2009 at 12:47 AM, Ron Bergin wrote:
> On Feb 3, 12:38 pm, jul.col...@gmail.com (Julien Collas) wrote:
> > Hi everyone,
> >
> > I made a script using Net::SSH::Perl and I'm faced to some slow
> > connexion times.
>
On Feb 3, 12:38 pm, jul.col...@gmail.com (Julien Collas) wrote:
> Hi everyone,
>
> I made a script using Net::SSH::Perl and I'm faced to some slow
> connexion times.
> I use rsa key to connect and it seems to be very slow, but not all the time.
> Sometimes it's very q
utes...
I guess I wiil have to manage that with timeout.
On Wed, Feb 4, 2009 at 3:45 AM, Chas. Owens wrote:
> On Tue, Feb 3, 2009 at 15:38, julien collas wrote:
> > Hi everyone,
> >
> > I made a script using Net::SSH::Perl and I'm faced to some slow connexion
>
On Tue, Feb 3, 2009 at 15:38, julien collas wrote:
> Hi everyone,
>
> I made a script using Net::SSH::Perl and I'm faced to some slow connexion
> times.
> I use rsa key to connect and it seems to be very slow, but not all the time.
> Sometimes it's very quick ( 1sec )
Hi everyone,
I made a script using Net::SSH::Perl and I'm faced to some slow
connexion times.
I use rsa key to connect and it seems to be very slow, but not all the time.
Sometimes it's very quick ( 1sec ), sometimes not (few minutes).
I tried to use password instead of a key, and i
Hi All,
I wanted to write a script which could login to a remote machine
and execute commands and give me the output, so i used Net::SSH::Perl module
on
my windows xp machine after running the script i get the this error
"mkdir C:/: Invalid argument; The filename, directory
18, 2008 at 1:29 AM, Chas. Owens <[EMAIL PROTECTED]> wrote:
> On Mon, Nov 17, 2008 at 13:42, monnappa appaiah <[EMAIL PROTECTED]>
> wrote:
> > Hi All,
> >
> > I wanted to write a script which could login into the server and
> > execute a command and return
On Mon, Nov 17, 2008 at 13:42, monnappa appaiah <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> I wanted to write a script which could login into the server and
> execute a command and return the output for that i used "Net::SSH::Perl"
> module
>
> but when
Hi All,
I wanted to write a script which could login into the server and
execute a command and return the output for that i used "Net::SSH::Perl"
module
but when i run the script (i'm running on the windows machine) i'm getting
this error "The getpwuid funct
is and it works from a command
line, but
I can't get the following code to do the same. (I don't think the
ConnectTimeout works correctly either, FYI).
Can anyone see what I'm doing wrong?
Thanks!
richf
#!/usr/local/bin/perl
use warnings;
use strict;
use Net::SSH::Pe
On Fri, Mar 14, 2008 at 2:50 PM, Pat Rice <[EMAIL PROTECTED]> wrote:
snip
> localhost.localdomain: Sent key-exchange init (KEXINIT), wait response.
> No matching cipher found: client 3des-cbc,blowfish-cbc,arcfour server
> aes256-cbc,aes128-cbc at /usr/lib/perl5/site_perl/5.8.5/Ne
Hi all
I'm trying to do the following as a test to get perl to log in to an ssh
server.
Before anyone asks the password has been changed, but was correct for log
in.
Code below
Thanks in advance.
Pat
1 #!/usr/bin/perl
2 use Net::SSH::Perl;
3
4 $scon = Net::SSH::Perl
On Oct 13, 5:35 am, [EMAIL PROTECTED] wrote:
> On Oct 13, 7:43 am, [EMAIL PROTECTED] (Mmccaws2) wrote:
>
> > Hi
>
> > I working with a fairly new install of HPUX with perl 5.8.x trying to
> > load up Net::SSH::Perl.
>
> > The issues is that there is so m
On Oct 13, 7:43 am, [EMAIL PROTECTED] (Mmccaws2) wrote:
> Hi
>
> I working with a fairly new install of HPUX with perl 5.8.x trying to
> load up Net::SSH::Perl.
>
> The issues is that there is so many module dependancies that when it
> starts uploading those dependancies, they
2007/10/13, mmccaws2 <[EMAIL PROTECTED]>:
> Hi
>
> I working with a fairly new install of HPUX with perl 5.8.x trying to
> load up Net::SSH::Perl.
>
> The issues is that there is so many module dependancies that when it
> starts uploading those dependancies, they just
Hi
I working with a fairly new install of HPUX with perl 5.8.x trying to
load up Net::SSH::Perl.
The issues is that there is so many module dependancies that when it
starts uploading those dependancies, they just stream by. How does
one capture the modules that didn't load up properly an
--- sivasakthi <[EMAIL PROTECTED]> wrote:
> if i have changed the line as,
>
> my($out, $err) = $ssh->cmd("cd /usr/local","ls");
>
Try change this line to:
my($out, $err) = $ssh->cmd("cd /usr/local;ls");
good luck.
--
http://home.earthlink.net/~pangj/
http://home.arcor.de/jeffpang/
Hi All,
I have checked the Net::SSH::perl modules, Just i have logged in to the
remote machine and executing the command. The code is following,
#! /usr/bin/perl
use strict;
use warnings;
use Net::SSH::Perl;
my $hostname="xx.xx.xx.xx";
my $user=;
my $pass=xxx;
my $ssh = Net:
On 6/14/07, Chas Owens <[EMAIL PROTECTED]> wrote:
On 6/14/07, Clif Hudson <[EMAIL PROTECTED]> wrote:
> Could someone point me to a book or online reference that shows me how to
> create a SSH script from scratch. I know I could use the Net::SSH::Perl
> module, but I don
On 6/14/07, Clif Hudson <[EMAIL PROTECTED]> wrote:
Could someone point me to a book or online reference that shows me how to
create a SSH script from scratch. I know I could use the Net::SSH::Perl
module, but I don't have access to the external resources needed to download
the module
Could someone point me to a book or online reference that shows me how to
create a SSH script from scratch. I know I could use the Net::SSH::Perl
module, but I don't have access to the external resources needed to download
the module because of the network restrictions.
Sincerely,
Clif H
Michael Alipio wrote:
Hi,
My program looks like this:
#!/usr/local/bin/perl
use warnings;
use strict;
use Net::SSH::Perl;
my $host = '192.168.1.1';
my $user = 'user';
my $pass = 'password';
my $ssh = Net::SSH::Perl->new($host);
$ssh->login($user, $pa
Hi,
My program looks like this:
#!/usr/local/bin/perl
use warnings;
use strict;
use Net::SSH::Perl;
my $host = '192.168.1.1';
my $user = 'user';
my $pass = 'password';
my $ssh = Net::SSH::Perl->new($host);
$ssh->login($user, $pass);
$ssh->shell;
It sp
Original Message-
> From: Kelvin Wu [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, Jun 13, 2006 1:30 AM
> To: Perl
> Subject: Re: Using Net::SSH::Perl to execute a set of commands
>
> Sorry I didn't get you, why it is related to Math::BigInt::GMP?
> To me it sounds like a SSH
at it
fixed.
> -Original Message-
> From: Kelvin Wu [mailto:[EMAIL PROTECTED]
> Sent: Monday, May 29, 2006 19:44 PM
> To: Perl
> Subject: Using Net::SSH::Perl to execute a set of commands
>
> Hi,
>
> I was trying to use Net::SSH::Perl to log into a remote box and
execute
Have you installed Math::BigInt::GMP?
Might not be it, but I was having a somewhat similar problem that it
fixed.
> -Original Message-
> From: Kelvin Wu [mailto:[EMAIL PROTECTED]
> Sent: Monday, May 29, 2006 19:44 PM
> To: Perl
> Subject: Using Net::SSH::Perl to e
Hi,
I was trying to use Net::SSH::Perl to log into a remote box and execute a
program with pre-defined commands, something like:
#!/usr/bin/perl
use strict;
use Net::SSH::Perl;
my $ssh = Net::SSH::Perl->new("ip", debug => 0);
$ssh->login("name", "password&qu
Does Net::SSH::Perl work on Windows? Or do I need to install
additional softwares (some form of OpenSSH)?
Thanks!
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>
Reinstall seems to work thanks Bill
-Original Message-
From: Wiggins d'Anconia [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 22, 2005 3:32 PM
To: O'Brien, Bill; Perl
Subject: Re: trying to run net::ssh::perl have errors
Please bottom post...
Please group reply so other
mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 21, 2005 5:32 PM
> To: O'Brien, Bill
> Cc: beginners@perl.org
> Subject: Re: trying to run net::ssh::perl have errors
>
> O'Brien, Bill wrote:
>
>>Greetings,
>>
>>Not sure if this is correct plac
O'Brien, Bill wrote:
> Greetings,
>
> Not sure if this is correct place, but I need to start somewhere, I have
> cygwin install on my work station and I'm trying to to use
> NET::SSH::Perl but I'm getting an error.
> I have installed NET:SSH:Perl-1.28, but I'
Greetings,
Not sure if this is correct place, but I need to start somewhere, I have
cygwin install on my work station and I'm trying to to use
NET::SSH::Perl but I'm getting an error.
I have installed NET:SSH:Perl-1.28, but I'm getting the following error,
when I run the script.
Ca
er to change
that, it as to be set to 0 manually when parameting Net::SSH::Perl
my %params = (
'priviledge'=0,
'protocol' => 2,
'identity_files' => [EMAIL PROTECTED],
);
MNibble a écrit :
> Gui wrote:
>
>> I'm really so
posted.
I asked the net::ssh::perl mailing list about the pb, but the only
response I got back from that time was "use fork". unfortunatly, I don't
quite get how I should use fork (if someone knows a URL where there is
good tutorial or post or something where I can learn fork, pleas
I'm really sorry for not replying during all this time. I'm involved in
lots of project, and I had to set this one aside for a moment. But now
I'm determined to get this thing fix!
I still have beginner level in perl, and can't quite make sense of the
code you posted.
I aske
John Doe wrote:
Am Dienstag, 5. April 2005 15.20 schrieb gui:
[snip]
Net::SSH: Can't bind socket to port 1023: Adresse déjà utilisée at
./test_ssh.pl line 50
There's also a mailing list dedicated to Net::SSH::Perl (from man page):
"SUPPORT
For samples/tutorials, take a look
Am Dienstag, 5. April 2005 15.20 schrieb gui:
[snip]
> Net::SSH: Can't bind socket to port 1023: Adresse déjà utilisée at
> ./test_ssh.pl line 50
There's also a mailing list dedicated to Net::SSH::Perl (from man page):
"SUPPORT
For samples/tutorials, take a look at
Am Mittwoch, 6. April 2005 12.52 schrieb gui:
> John Doe wrote:
> > I don't see the exact reason. But after having a look in the code
> > (Perl.pm, sub _create_socket, which tries ports from 1023 down to 512 to
> > bind to), maybe the ssh object is not destroyed between the loops. You
> > could try
Hello,
I am not a experienced perl programmer but from the look at your first
post with the perl code. Do you not have to run a close sessions ?
So after your commands:
$ssh = Net::SSH::Perl->new($_, %params);
$ssh->login("root");
($stout,$sterr,$e
John Doe wrote:
I don't see the exact reason. But after having a look in the code (Perl.pm,
sub _create_socket, which tries ports from 1023 down to 512 to bind to),
maybe the ssh object is not destroyed between the loops. You could try:
** define $ssh as my variable within the loop (not outside
ot; message.
>
> my question is, how can I unbind the socket used by Net::SSH::Perl ?
>
> here's part of my code:
>
> use strict;
> use Net::SSH::Perl;
>
> my ($patchurl,$stout,$sterr,$exit,$ssh);
> my @ids = "$ENV{HOME}/.ssh/id_rsa";
>
> my %para
tu: Remote protocol version 2.0, remote software version OpenSSH_3.9p1
ubuntu: Net::SSH::Perl Version 1.27, protocol version 2.0.
ubuntu: No compat match: OpenSSH_3.9p1.
ubuntu: Connection established.
ubuntu: Sent key-exchange init (KEXINIT), wait response.
ubuntu: Algorithms, c->s: 3des-cbc h
- Original Message -
From: gui <[EMAIL PROTECTED]>
Date: Monday, April 4, 2005 3:16 pm
Subject: Net::SSH::Perl bind socket problem
> hello,
>
> I'm making a simple script that's supposed to update a certain
> number of
> boxes, spread around the area
e for the first host of the list. But can never get
beyong that. I get a "Net::SSH: Can't bind socket to port 1023: Adresse
déjà utilisée at ./test_ssh.pl line 46" message.
my question is, how can I unbind the socket used by Net::SSH::Perl ?
here's part of my code:
use strict;
On 29/03/2005, Lohit wrote:
> i have installed openssh for windows and am able to connect using ssh
> client. Now, while trying out Net::SSH::Perl module i get an error at
>
> my $sshh= Net::SSH::Perl->new($host);
>
> Can't map service name 'ssh' to port num
Hi,
i have installed openssh for windows and am able to connect using ssh
client. Now, while trying out Net::SSH::Perl module i get an error at
my $sshh= Net::SSH::Perl->new($host);
Can't map service name 'ssh' to port number.
this is on windows OS and i have added the
In looking for a good Perl SSH module, I came across Net::SSH::Perl,
which has a ton of dependencies. While looking into this, I stumbled
across CPAN::shell, which I figured would make installing Net::SSH::Perl
a lot easier. So, I installed CPAN::shell, but am unable to get all the
dependencies
Hello,
I am trying to use Net::SSH::Perl to send a few commands to a remote
server and I already have the ssh public keys setup as a normal ssh
[EMAIL PROTECTED] command works.
Here is a snip from my code:
[snip]
my @ids = ("/path/to/.ssh/id_rsa.pub");
my %params = (
iden
On Tue, 7 Oct 2003 15:43:00 -0400 , Roberts Mr Richard L <[EMAIL PROTECTED]> wrote:
> I am using NET::SSH::Perl. Login is correct. mkdir is correct. Yet when I
> try to pass a local file to remote host to copy file to newly created
>
are at
> http://www.squarebox.co.uk/cgi-squarebox/manServer/usr/share/man/man3/
>
> I don't have a setup now for testing ssh or I would.
>
> Please let me know what works when you find it.
>
> -tristram
> [EMAIL PROTECTED]
Hi
I'm using ssh with only key authentica
lement this. (I actually have it running as the
parent of my X, but since I've added the Net::SSH::Perl::Auth, it just
ignores it. before I've added it, it accepted the linux ssh-agent as the
authentication and didn't prompt me for a password).
thanx
--
Haim
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
are at
> http://www.squarebox.co.uk/cgi-squarebox/manServer/usr/share/man/man3/
>
> I don't have a setup now for testing ssh or I would.
>
> Please let me know what works when you find it.
>
> -tristram
> [EMAIL PROTECTED]
Hi
I'm using ssh with only key authentica
lement this. (I actually have it running as the
parent of my X, but since I've added the Net::SSH::Perl::Auth, it just
ignores it. before I've added it, it accepted the linux ssh-agent as the
authentication and didn't prompt me for a password).
thanx
--
Haim
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
TN wrote:
> Hi,
>
> As far as I can tell you are doing it right according to the manpages.
> However, I noticed that in
> http://www.squarebox.co.uk/cgi-squarebox/manServer/usr/share/man/man3/Ne
> t::SSH::Perl.3pm that $ssh->login() requires a password that you aren't
> supplying:
>
> $ssh->login(
Haim Ashkenazi wrote:
> Hi
>
> I'm trying to write a simple ssh login script using Net::SSH::Perl. with
> regular password It's working without a problem, but when I try to use dsa
> key (my usual dsa key) it doesn'
That clears things up. Thanks for the detailed explanation!
-tristram
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
col' => 2, 'interactive' => 1, 'identity_files' =>
[EMAIL PROTECTED], };
And then when using the variable you would do so such as:
Net::SSH::Perl->new($host, %params);
or,
Net::SSH::Perl->new($host, %$params);
perldoc perlreftut
perldoc perlref
For mo
Help me to understand your explanation of "assigning a hash reference to
a hash."
Considering
my %params = {
protocol => 2,
interactive => 1,
identity_files => [EMAIL PROTECTED],
};
It appears to have an even number of elements like a hash should (since
"=>" works essentially like "
Just for clarification and the archives
TN wrote:
Hi,
As far as I can tell you are doing it right according to the manpages.
However, I noticed that in
http://www.squarebox.co.uk/cgi-squarebox/manServer/usr/share/man/man3/Ne
t::SSH::Perl.3pm that $ssh->login() requires a password that you are
Haim Ashkenazi wrote:
Hi
I'm trying to write a simple ssh login script using Net::SSH::Perl. with
regular password It's working without a problem, but when I try to use dsa
key (my usual dsa key) it doesn't work.
here's the scritp:
Hi,
As far as I can tell you are doing it right according to the manpages.
However, I noticed that in
http://www.squarebox.co.uk/cgi-squarebox/manServer/usr/share/man/man3/Ne
t::SSH::Perl.3pm that $ssh->login() requires a password that you aren't
supplying:
$ssh->login("user1", "pass1");
I belie
Hi
I'm trying to write a simple ssh login script using Net::SSH::Perl. with
regular password It's working without a problem, but when I try to use dsa
key (my usual dsa key) it doesn't work.
here's the scritp:
#!/usr/bin/
Hi All,
I remember i read somewhere about some limitations of Net::SSH::Perl on
windows systems particularly something about 5.8
but can't find the link now.
Can anybody point me to it without much effort.??
Thanx,
-Sharad
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For addit
On Thu, 04 Sep 2003 14:23:44 -0400, zentara <[EMAIL PROTECTED]> wrote:
> On Wed, 3 Sep 2003 12:54:07 +0800, [EMAIL PROTECTED] (Jaws) wrote:
>
> >Hi all,
> >
> >I am currently using Net::SSH::Perl module to login in
On Wed, 3 Sep 2003 12:54:07 +0800, [EMAIL PROTECTED] (Jaws) wrote:
>Hi all,
>
>I am currently using Net::SSH::Perl module to login in my remote machine.
>Below is my code:
>
>==
>#!/usr/bin/perl
>
>use Net::SSH::Perl;
>
>$user=
Hi all,
I am currently using Net::SSH::Perl module to login in my remote machine.
Below is my code:
==
#!/usr/bin/perl
use Net::SSH::Perl;
$user="jaws";
$pass="password";
$host="111.222.333.444";
my $ssh = Net::SSH::Perl->new(
hi, i'm the beginner in perl,
here is my script:
#
#!/usr/bin/perl
use Net::SSH::Perl;
$host = "host.dom";
$user = "user";
$passwd = "passwd";
my $ssh = Net::SSH::Perl->new($host);
$ssh-
Hello everyone,
I am not too sure if this is the place to send this question or not,
but here it goes anyway:
I have a script that uses the Net::SSH::Perl modules for connecting
to a server. I connect and grab all the databases and put them into an
array. Latter in the script I run a
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi there!
This is my first posting to this mailing list, so plz don't flame me
- - ok ;-)
Please send your responses to: [EMAIL PROTECTED]
Rows will probably wrap.
I am trying to use the Net::SSH::Perl module with Perl 5.6.1 on a
i686 R
97 matches
Mail list logo