Skip Menu |

This queue is for tickets about the Net-SSH-Perl CPAN distribution.

Report information
The Basics
Id: 91840
Status: open
Priority: 0/
Queue: Net-SSH-Perl

People
Owner: Nobody in particular
Requestors: kc2105 [...] att.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: ssh options not implemented in 1.36
Date: Fri, 3 Jan 2014 19:53:08 +0000
To: "bug-Net-SSH-Perl [...] rt.cpan.org" <bug-Net-SSH-Perl [...] rt.cpan.org>
From: "CLAY, KEITH" <kc2105 [...] att.com>
Folks, We are working on the 1.36 version of the module and it is not passing StrictHostKeyChecking so ssh is failing for a virtual host that answers to multiple IP as the first one we connect to puts it's key in known_hosts and the other fails. Here is how we are calling it: my $ssh=Net::SSH::Perl->new($userHost,options=>["StrictHostKeyChecking no","ConnectTimeout 30","BatchMode yes"]); $ssh->login($user,"1"); my ($so,$si,$se)=$ssh->cmd('hostname'); print "$so\n"; Keith Clay PDS Tools Team Webtrax: MOB IT PDS Tools Monitors, Alerts and Reporting<http://webtrax.it.att.com/workrequest/viewGroupMembers.do?formView=true&groupId=750&prevPage=dashboard> [http://presence.q.att.com/PresenceService/status?qid=kc2105]Q Me!<qto://talk/kc2105> Cell/Office/Desk Phone: +1-661-532-8331 ATTUID: kc2105 Email: keith.clay@att.com<mailto:keith.clay@att.com>
Download image001.gif
image/gif 576b
image001.gif
Having a look. Looks like I only have to add the missing options to %DIRECTIVES in Net/SSH/Perl/Config.pm. If anybody knows better, feel free to chime in while I dive into the code... Steffen On Fri Jan 03 14:53:41 2014, kc2105@att.com wrote: Show quoted text
> Folks, > > We are working on the 1.36 version of the module and it is not passing > StrictHostKeyChecking so ssh is failing for a virtual host that > answers to multiple IP as the first one we connect to puts it's key in > known_hosts and the other fails. > > Here is how we are calling it: > > my $ssh=Net::SSH::Perl->new($userHost,options=>["StrictHostKeyChecking > no","ConnectTimeout 30","BatchMode yes"]); > $ssh->login($user,"1"); > > my ($so,$si,$se)=$ssh->cmd('hostname'); > print "$so\n"; > > > > > Keith Clay > PDS Tools Team > Webtrax: MOB IT PDS Tools Monitors, Alerts and > Reporting<http://webtrax.it.att.com/workrequest/viewGroupMembers.do?formView=true&groupId=750&prevPage=dashboard> > > > [http://presence.q.att.com/PresenceService/status?qid=kc2105]Q > Me!<qto://talk/kc2105> > Cell/Office/Desk Phone: +1-661-532-8331 > > ATTUID: kc2105 > Email: keith.clay@att.com<mailto:keith.clay@att.com>
-- Steffen Schwigon <ss5@renormalist.net> Dresden Perl Mongers <http://dresden-pm.org/>
Keith, can you confirm your error message looks similar to this: Host key for 'vserver' has changed! at blib/lib//Net/SSH/Perl/Kex/DH1.pm line 49. ? Thanks, Steffen On Mon Mar 17 03:48:19 2014, SCHWIGON wrote: Show quoted text
> Having a look. Looks like I only have to add the missing options to > %DIRECTIVES in Net/SSH/Perl/Config.pm. If anybody knows better, feel > free to chime in while I dive into the code... > > Steffen > > On Fri Jan 03 14:53:41 2014, kc2105@att.com wrote:
> > Folks, > > > > We are working on the 1.36 version of the module and it is not > > passing > > StrictHostKeyChecking so ssh is failing for a virtual host that > > answers to multiple IP as the first one we connect to puts it's key > > in > > known_hosts and the other fails. > > > > Here is how we are calling it: > > > > my $ssh=Net::SSH::Perl-
> > >new($userHost,options=>["StrictHostKeyChecking
> > no","ConnectTimeout 30","BatchMode yes"]); > > $ssh->login($user,"1"); > > > > my ($so,$si,$se)=$ssh->cmd('hostname'); > > print "$so\n"; > > > > > > > > > > Keith Clay > > PDS Tools Team > > Webtrax: MOB IT PDS Tools Monitors, Alerts and > > Reporting<http://webtrax.it.att.com/workrequest/viewGroupMembers.do?formView=true&groupId=750&prevPage=dashboard> > > > > > > [http://presence.q.att.com/PresenceService/status?qid=kc2105]Q > > Me!<qto://talk/kc2105> > > Cell/Office/Desk Phone: +1-661-532-8331 > > > > ATTUID: kc2105 > > Email: keith.clay@att.com<mailto:keith.clay@att.com>
-- Steffen Schwigon <ss5@renormalist.net> Dresden Perl Mongers <http://dresden-pm.org/>
CC: "OROZCO LARIOS, JOSE DE JESUS" <jo020k [...] att.com>, "GARCIA RAMIREZ, ABILIO JOEL" <ag347q [...] att.com>, "OLMOS, JORGE LUIS" <jo5621 [...] att.com>
Subject: RE: [rt.cpan.org #91840] ssh options not implemented in 1.36
Date: Tue, 18 Mar 2014 18:46:28 +0000
To: "bug-Net-SSH-Perl [...] rt.cpan.org" <bug-Net-SSH-Perl [...] rt.cpan.org>
From: "CLAY, KEITH" <kc2105 [...] att.com>
Steffen, Let me setup a test again and get you the error. Keith Clay PDS Tools Team Webtrax: MOB IT PDS Tools Monitors, Alerts and Reporting Q Me! Cell/Office/Desk Phone: +1-661-532-8331 ATTUID: kc2105 Email: keith.clay@att.com Show quoted text
-----Original Message----- From: Steffen Schwigon via RT [mailto:bug-Net-SSH-Perl@rt.cpan.org] Sent: Monday, March 17, 2014 3:45 AM To: CLAY, KEITH Subject: [rt.cpan.org #91840] ssh options not implemented in 1.36 <URL: https://rt.cpan.org/Ticket/Display.html?id=91840 > Keith, can you confirm your error message looks similar to this: Host key for 'vserver' has changed! at blib/lib//Net/SSH/Perl/Kex/DH1.pm line 49. ? Thanks, Steffen On Mon Mar 17 03:48:19 2014, SCHWIGON wrote:
> Having a look. Looks like I only have to add the missing options to > %DIRECTIVES in Net/SSH/Perl/Config.pm. If anybody knows better, feel > free to chime in while I dive into the code... > > Steffen > > On Fri Jan 03 14:53:41 2014, kc2105@att.com wrote:
> > Folks, > > > > We are working on the 1.36 version of the module and it is not > > passing > > StrictHostKeyChecking so ssh is failing for a virtual host that > > answers to multiple IP as the first one we connect to puts it's key > > in > > known_hosts and the other fails. > > > > Here is how we are calling it: > > > > my $ssh=Net::SSH::Perl-
> > >new($userHost,options=>["StrictHostKeyChecking
> > no","ConnectTimeout 30","BatchMode yes"]); > > $ssh->login($user,"1"); > > > > my ($so,$si,$se)=$ssh->cmd('hostname'); > > print "$so\n"; > > > > > > > > > > Keith Clay > > PDS Tools Team > > Webtrax: MOB IT PDS Tools Monitors, Alerts and > > Reporting<http://webtrax.it.att.com/workrequest/viewGroupMembers.do?formView=true&groupId=750&prevPage=dashboard> > > > > > > [http://presence.q.att.com/PresenceService/status?qid=kc2105]Q > > Me!<qto://talk/kc2105> > > Cell/Office/Desk Phone: +1-661-532-8331 > > > > ATTUID: kc2105 > > Email: keith.clay@att.com<mailto:keith.clay@att.com>
-- Steffen Schwigon <ss5@renormalist.net> Dresden Perl Mongers <http://dresden-pm.org/>
CC: "OROZCO LARIOS, JOSE DE JESUS" <jo020k [...] att.com>, "GARCIA RAMIREZ, ABILIO JOEL" <ag347q [...] att.com>, "OLMOS, JORGE LUIS" <jo5621 [...] att.com>
Subject: RE: [rt.cpan.org #91840] ssh options not implemented in 1.36
Date: Tue, 18 Mar 2014 19:34:06 +0000
To: "bug-Net-SSH-Perl [...] rt.cpan.org" <bug-Net-SSH-Perl [...] rt.cpan.org>
From: "CLAY, KEITH" <kc2105 [...] att.com>
Steffan, Here is our error. our_host: Remote protocol version 2.0, remote software version OpenSSH_5.3 our_host: Net::SSH::Perl Version 1.36, protocol version 2.0. Host key for 'our_remote_host' has changed! At perl/lib/5.8.8/Net/SSH/Perl/Kex/DH1.pm line 49 Keith Clay PDS Tools Team Webtrax: MOB IT PDS Tools Monitors, Alerts and Reporting Q Me! Cell/Office/Desk Phone: +1-661-532-8331 ATTUID: kc2105 Email: keith.clay@att.com Show quoted text
-----Original Message----- From: CLAY, KEITH Sent: Tuesday, March 18, 2014 1:46 PM To: 'bug-Net-SSH-Perl@rt.cpan.org' Cc: OROZCO LARIOS, JOSE DE JESUS; GARCIA RAMIREZ, ABILIO JOEL; OLMOS, JORGE LUIS Subject: RE: [rt.cpan.org #91840] ssh options not implemented in 1.36 Steffen, Let me setup a test again and get you the error. Keith Clay PDS Tools Team Webtrax: MOB IT PDS Tools Monitors, Alerts and Reporting Q Me! Cell/Office/Desk Phone: +1-661-532-8331 ATTUID: kc2105 Email: keith.clay@att.com<mailto:keith.clay@att.com>
-----Original Message----- From: Steffen Schwigon via RT [mailto:bug-Net-SSH-Perl@rt.cpan.org] Sent: Monday, March 17, 2014 3:45 AM To: CLAY, KEITH Subject: [rt.cpan.org #91840] ssh options not implemented in 1.36 <URL: https://rt.cpan.org/Ticket/Display.html?id=91840 > Keith, can you confirm your error message looks similar to this: Host key for 'vserver' has changed! at blib/lib//Net/SSH/Perl/Kex/DH1.pm line 49. ? Thanks, Steffen On Mon Mar 17 03:48:19 2014, SCHWIGON wrote:
> Having a look. Looks like I only have to add the missing options to
> %DIRECTIVES in Net/SSH/Perl/Config.pm. If anybody knows better, feel
> free to chime in while I dive into the code...
>
> Steffen
>
> On Fri Jan 03 14:53:41 2014, kc2105@att.com<mailto:kc2105@att.com> wrote:
> > Folks,
> >
> > We are working on the 1.36 version of the module and it is not
> > passing
> > StrictHostKeyChecking so ssh is failing for a virtual host that
> > answers to multiple IP as the first one we connect to puts it's key
> > in
> > known_hosts and the other fails.
> >
> > Here is how we are calling it:
> >
> > my $ssh=Net::SSH::Perl-
> > >new($userHost,options=>["StrictHostKeyChecking
> > no","ConnectTimeout 30","BatchMode yes"]);
> > $ssh->login($user,"1");
> >
> > my ($so,$si,$se)=$ssh->cmd('hostname');
> > print "$so\n";
> >
> >
> >
> >
> > Keith Clay
> > PDS Tools Team
> > Webtrax: MOB IT PDS Tools Monitors, Alerts and
> >
> >
> > Me!<qto://talk/kc2105>
> > Cell/Office/Desk Phone: +1-661-532-8331
> >
> > ATTUID: kc2105
> > Email: keith.clay@att.com<mailto:keith.clay@att.com<mailto:keith.clay@att.com%3cmailto:keith.clay@att.com>>
-- Steffen Schwigon <ss5@renormalist.net<mailto:ss5@renormalist.net>> Dresden Perl Mongers <http://dresden-pm.org/>
Keith, please try whether Net::SSH::Perl v1.37 solves your problem. The code already existed, I only had to enable and map the option. Kind regards, Steffen
CC: "OROZCO LARIOS, JOSE DE JESUS" <jo020k [...] att.com>
Subject: RE: [rt.cpan.org #91840] ssh options not implemented in 1.36
Date: Mon, 31 Mar 2014 14:54:49 +0000
To: "bug-Net-SSH-Perl [...] rt.cpan.org" <bug-Net-SSH-Perl [...] rt.cpan.org>
From: "CLAY, KEITH" <kc2105 [...] att.com>
Steffen, We are installing today and will test the changes and let you know our results. Thanks! Keith Clay PDS Tools Team Webtrax: MOB IT PDS Tools Monitors, Alerts and Reporting Q Me! Cell/Office/Desk Phone: +1-661-532-8331 ATTUID: kc2105 Email: keith.clay@att.com Show quoted text
-----Original Message----- From: Steffen Schwigon via RT [mailto:bug-Net-SSH-Perl@rt.cpan.org] Sent: Sunday, March 30, 2014 11:42 AM To: CLAY, KEITH Subject: [rt.cpan.org #91840] ssh options not implemented in 1.36 <URL: https://rt.cpan.org/Ticket/Display.html?id=91840 > Keith, please try whether Net::SSH::Perl v1.37 solves your problem. The code already existed, I only had to enable and map the option. Kind regards, Steffen