Re: Net::SSH::Perl - Permission Denied

2013-03-20 Thread Andy Bach
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

Net::SSH::Perl - Permission Denied

2013-03-20 Thread Alvin Ramos
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

How can I use Net::SSH2 or Net::SSH::Perl in krb5 authen env?

2012-08-31 Thread chenlin rao
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

Re: a qustion about net::ssh::perl Module

2012-06-26 Thread Praveen Kumar
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

a qustion about net::ssh::perl Module

2012-06-26 Thread 袁佳
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

Re: error on Net::SSH::perl ---- [ weaken is only available with the XS version of Scalar::Util ]

2011-12-16 Thread Shlomi Fish
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 .. > >> > > >

Re: error on Net::SSH::perl ---- [ weaken is only available with the XS version of Scalar::Util ]

2011-12-12 Thread Agnello George
>> 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

Re: error on Net::SSH::perl ---- [ weaken is only available with the XS version of Scalar::Util ]

2011-12-12 Thread Shlomi Fish
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

error on Net::SSH::perl ---- [ weaken is only available with the XS version of Scalar::Util ]

2011-12-12 Thread Agnello George
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

Re: permission denied for Net::SSH::Perl module

2011-02-17 Thread Rob Dixon
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

Re: permission denied for Net::SSH::Perl module

2011-02-17 Thread Nathan Barham
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

Re: permission denied for Net::SSH::Perl module

2011-02-17 Thread Irfan Sayed
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

permission denied for Net::SSH::Perl module

2011-02-10 Thread Irfan Sayed
;,'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

monitor status or cancel a job when use Net::SSH::Perl

2010-05-02 Thread eric.zhang
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

Re: Net-SSH-Perl with Cisco

2010-02-19 Thread Salvador Fandino
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

Net-SSH-Perl with Cisco

2010-02-13 Thread Paul
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

Re: Need help with Net::SSH::Perl

2010-01-25 Thread electr0n wizard
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

Re: Need help with Net::SSH::Perl

2010-01-25 Thread Sisyphus
- 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

Re: Need help with Net::SSH::Perl

2010-01-25 Thread Shlomi Fish
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

Need help with Net::SSH::Perl

2010-01-25 Thread electr0n wizard
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

Re: I'm trying to install 'Net::SSH::Perl' on a Windows Box.

2009-03-16 Thread Ron Smith
--- 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

Re: I'm trying to install 'Net::SSH::Perl' on a Windows Box.

2009-03-16 Thread Chas. Owens
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

Re: I'm trying to install 'Net::SSH::Perl' on a Windows Box.

2009-03-16 Thread Ron Smith
--- 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,

Re: I'm trying to install 'Net::SSH::Perl' on a Windows Box.

2009-03-15 Thread Chas. Owens
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

I'm trying to install 'Net::SSH::Perl' on a Windows Box.

2009-03-15 Thread Ron Smith
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

Re: Slow connexion with Net::SSH::Perl

2009-02-18 Thread metacyc...@gmail.com
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

Re: Slow connexion with Net::SSH::Perl

2009-02-18 Thread metacyclic
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

Re: Slow connexion with Net::SSH::Perl

2009-02-09 Thread David Shere
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

Re: Slow connexion with Net::SSH::Perl

2009-02-04 Thread julien collas
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. >

Re: Slow connexion with Net::SSH::Perl

2009-02-04 Thread Ron Bergin
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

Re: Slow connexion with Net::SSH::Perl

2009-02-04 Thread julien collas
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 >

Re: Slow connexion with Net::SSH::Perl

2009-02-03 Thread Chas. Owens
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 )

Slow connexion with Net::SSH::Perl

2009-02-03 Thread julien collas
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

error when using net::SSH::perl

2008-11-19 Thread monnappa appaiah
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

Re: problem with Net::SSH::Perl

2008-11-18 Thread monnappa appaiah
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

Re: problem with Net::SSH::Perl

2008-11-17 Thread Chas. Owens
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

problem with Net::SSH::Perl

2008-11-17 Thread monnappa appaiah
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

Net::SSH::Perl won't set SSH options?

2008-04-02 Thread RICHARD FERNANDEZ
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

Re: Net::SSH::Perl log in

2008-03-15 Thread Chas. Owens
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

Net::SSH::Perl log in

2008-03-14 Thread Pat Rice
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

Re: problems install Net::SSH::Perl

2007-10-14 Thread mmccaws2
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

Re: problems install Net::SSH::Perl

2007-10-14 Thread sisyphus359
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

Re: problems install Net::SSH::Perl

2007-10-13 Thread Jeff Pang
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

problems install Net::SSH::Perl

2007-10-13 Thread mmccaws2
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

Re: Executing more commands in remote m/c using Net::SSH::perl Modules

2007-07-25 Thread Jeff Pang
--- 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/

Executing more commands in remote m/c using Net::SSH::perl Modules

2007-07-25 Thread sivasakthi
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:

Re: Help with writing SSH script without Net::SSH::Perl module

2007-06-14 Thread Chas Owens
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

Re: Help with writing SSH script without Net::SSH::Perl module

2007-06-14 Thread Chas Owens
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

Help with writing SSH script without Net::SSH::Perl module

2007-06-14 Thread Clif Hudson
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

Re: Quick Net::SSH::Perl question

2006-10-27 Thread Rob Dixon
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

Quick Net::SSH::Perl question

2006-10-27 Thread Michael Alipio
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

RE: Using Net::SSH::Perl to execute a set of commands

2006-06-14 Thread Oyler, Nathan
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

Re: Using Net::SSH::Perl to execute a set of commands

2006-06-13 Thread Kelvin Wu
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

RE: Using Net::SSH::Perl to execute a set of commands

2006-05-30 Thread Oyler, Nathan
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

Using Net::SSH::Perl to execute a set of commands

2006-05-29 Thread Kelvin Wu
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

Net::SSH::Perl

2005-10-27 Thread The Ghost
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>

RE: trying to run net::ssh::perl have errors

2005-09-23 Thread O'Brien, Bill
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

Re: trying to run net::ssh::perl have errors

2005-09-22 Thread Wiggins d'Anconia
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

Re: trying to run net::ssh::perl have errors

2005-09-21 Thread Wiggins d'Anconia
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'

trying to run net::ssh::perl have errors

2005-09-21 Thread O'Brien, Bill
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

Re: Net::SSH::Perl bind socket problem

2005-06-13 Thread gui
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

Re: Net::SSH::Perl bind socket problem

2005-06-11 Thread MNibble
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

Re: Net::SSH::Perl bind socket problem

2005-06-10 Thread gui
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

Re: Net::SSH::Perl bind socket problem

2005-04-08 Thread gui
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

Re: Net::SSH::Perl bind socket problem

2005-04-07 Thread John Doe
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

Re: Net::SSH::Perl bind socket problem

2005-04-06 Thread John Doe
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

Re: Net::SSH::Perl bind socket problem

2005-04-06 Thread Michael Gale
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

Re: Net::SSH::Perl bind socket problem

2005-04-06 Thread 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: ** define $ssh as my variable within the loop (not outside

Re: Net::SSH::Perl bind socket problem

2005-04-06 Thread John Doe
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

Re: Net::SSH::Perl bind socket problem

2005-04-05 Thread gui
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

Re: Net::SSH::Perl bind socket problem

2005-04-04 Thread mgoland
- 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

Net::SSH::Perl bind socket problem

2005-04-04 Thread gui
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;

Re: Net::SSH::Perl error

2005-03-29 Thread Felix Geerinckx
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

Net::SSH::Perl error

2005-03-29 Thread lohit
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

Trouble installing modules (Net::SSH::Perl, Math::Pari, Crypt::Random)

2004-07-22 Thread Price, Jason (TLR Corp)
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

Net::SSH::Perl public key issue

2004-01-29 Thread Robby Russell
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

Net::SSH::Perl remote change directory

2003-10-07 Thread Wiggins d'Anconia
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 >

RE: problem with Net::SSH::Perl using dsa key authentication

2003-09-29 Thread Haim Ashkenazi
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

Re: problem with Net::SSH::Perl using dsa key authentication

2003-09-29 Thread Haim Ashkenazi
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]

RE: problem with Net::SSH::Perl using dsa key authentication

2003-09-29 Thread Haim Ashkenazi
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

Re: problem with Net::SSH::Perl using dsa key authentication

2003-09-29 Thread Haim Ashkenazi
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]

Re: problem with Net::SSH::Perl using dsa key authentication

2003-09-28 Thread R. Joseph Newton
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(

Re: problem with Net::SSH::Perl using dsa key authentication

2003-09-28 Thread R. Joseph Newton
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'

RE: problem with Net::SSH::Perl using dsa key authentication

2003-09-28 Thread TN
That clears things up. Thanks for the detailed explanation! -tristram -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: problem with Net::SSH::Perl using dsa key authentication

2003-09-28 Thread Wiggins d'Anconia
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

RE: problem with Net::SSH::Perl using dsa key authentication

2003-09-28 Thread TN
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 "

Re: problem with Net::SSH::Perl using dsa key authentication

2003-09-28 Thread Wiggins d'Anconia
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

Re: problem with Net::SSH::Perl using dsa key authentication

2003-09-28 Thread Wiggins d'Anconia
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:

RE: problem with Net::SSH::Perl using dsa key authentication

2003-09-28 Thread TN
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

problem with Net::SSH::Perl using dsa key authentication

2003-09-28 Thread Haim Ashkenazi
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/

Net::SSH::Perl

2003-09-18 Thread Gupta, Sharad
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

Re: Net::SSH::Perl

2003-09-04 Thread wiggins
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

Re: Net::SSH::Perl

2003-09-04 Thread zentara
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=

Net::SSH::Perl

2003-09-02 Thread jaws
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(

Undefined subroutine &Net::SSH::Perl::Util::SSH1Misc::_crc32

2003-06-04 Thread giblert s
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-

Net::SSH::Perl

2002-07-29 Thread Chad Kellerman
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

Urgently need help with Net::SSH::Perl / Math::Pari / @INC and loadable objects

2001-09-14 Thread Patrik Birgersson
-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