Skip Menu |

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

Report information
The Basics
Id: 72674
Status: resolved
Worked: 1 min
Priority: 0/
Queue: Net-OpenSSH

People
Owner: Nobody in particular
Requestors: andrew.j.slezak [...] jpmorgan.com
Cc:
AdminCc:

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



Subject: Net::OpenSSH-0.53_04 -- issue with scp *bug fix*
Date: Wed, 23 Nov 2011 19:49:03 +0000
To: "bug-Net-OpenSSH [...] rt.cpan.org" <bug-Net-OpenSSH [...] rt.cpan.org>
From: "Slezak, Andrew J" <andrew.j.slezak [...] jpmorgan.com>
Author, Thank you for this excellent perl module. When using scp with this module, it passes "-l user" to the scp command. The scp command expects -l to be a bandwidth limit instead of the username. usage: scp [-1246BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file] [-l limit] [-o ssh_option] [-P port] [-S program] [[user@]host1:]file1 [...] [[user@]host2:]file2 With the changes I've suggested, your module will use the user@host syntax instead of -l user. my @ssh_opts; # TODO: are those options really requiered or just do they eat on # the command line limited length? #push @ssh_opts, -l => $user if defined $user; # #andrew.j.slezak@jpmorgan.com -- #-l option does not work for scp ... change to user@host # if (defined $user) { $host = "$user\@$host"; $host_ssh = "$user\@$host_ssh"; } If you could update your module it would be most appreciated. This works for me on Redhat 3/4/5 servers. Thanks & Regards, -Andrew Slezak / JPMorgan This email is confidential and subject to important disclaimers and conditions including on offers for the purchase or sale of securities, accuracy and completeness of information, viruses, confidentiality, legal privilege, and legal entity disclaimers, available at http://www.jpmorgan.com/pages/disclosures/email.
Subject: Re: [rt.cpan.org #72674] Net::OpenSSH-0.53_04 -- issue with scp *bug fix*
Date: Wed, 23 Nov 2011 14:24:50 -0800 (PST)
To: "bug-Net-OpenSSH [...] rt.cpan.org" <bug-Net-OpenSSH [...] rt.cpan.org>
From: Salvador Fandino <sfandino [...] yahoo.com>
Hi, I have just uploaded version 0.53_05 to CPAN. Thank you for reporting the bug - Salva Show quoted text
>________________________________ > From: "Slezak, Andrew J via RT" <bug-Net-OpenSSH@rt.cpan.org> >To: >Sent: Wednesday, November 23, 2011 8:49 PM >Subject: [rt.cpan.org #72674] Net::OpenSSH-0.53_04 -- issue with scp *bug fix* > >Wed Nov 23 14:49:27 2011: Request 72674 was acted upon. >Transaction: Ticket created by andrew.j.slezak@jpmorgan.com >      Queue: Net-OpenSSH >    Subject: Net::OpenSSH-0.53_04 -- issue with scp *bug fix* >  Broken in: (no value) >    Severity: (no value) >      Owner: Nobody >  Requestors: andrew.j.slezak@jpmorgan.com >      Status: new >Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=72674 > > > >Author, > >Thank you for this excellent perl module. >When using scp with this module, it passes "-l user" to the scp command. >The scp command expects -l to be a bandwidth limit instead of the username. > >usage: scp [-1246BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file] >          [-l limit] [-o ssh_option] [-P port] [-S program] >          [[user@]host1:]file1 [...] [[user@]host2:]file2 > > >With the changes I've suggested, your module will use the user@host syntax instead of -l user. > >    my @ssh_opts; >    # TODO: are those options really requiered or just do they eat on >    # the command line limited length? >    #push @ssh_opts, -l => $user if defined $user; >    # >    #andrew.j.slezak@jpmorgan.com  -- >    #-l option does not work for scp ... change to user@host >    # >    if (defined $user) { >      $host = "$user\@$host"; >      $host_ssh = "$user\@$host_ssh"; >    } > >If you could update your module it would be most appreciated.  This works for me on Redhat 3/4/5 servers. > > >Thanks & Regards, -Andrew Slezak / JPMorgan > > >This email is confidential and subject to important disclaimers and >conditions including on offers for the purchase or sale of >securities, accuracy and completeness of information, viruses, >confidentiality, legal privilege, and legal entity disclaimers, >available at http://www.jpmorgan.com/pages/disclosures/email.  > > >
Subject: RE: [rt.cpan.org #72674] Net::OpenSSH-0.53_04 -- issue with scp *bug fix*
Date: Wed, 23 Nov 2011 22:27:34 +0000
To: "bug-Net-OpenSSH [...] rt.cpan.org" <bug-Net-OpenSSH [...] rt.cpan.org>
From: "Slezak, Andrew J" <andrew.j.slezak [...] jpmorgan.com>
Thanks! Regards, -Andrew Slezak / JPMorgan Show quoted text
-----Original Message----- From: Salvador \"Fandiño\" via RT [mailto:bug-Net-OpenSSH@rt.cpan.org] Sent: Wednesday, November 23, 2011 4:25 PM To: Slezak, Andrew J Subject: Re: [rt.cpan.org #72674] Net::OpenSSH-0.53_04 -- issue with scp *bug fix* <URL: https://rt.cpan.org/Ticket/Display.html?id=72674 > Hi, I have just uploaded version 0.53_05 to CPAN. Thank you for reporting the bug - Salva
>________________________________ > From: "Slezak, Andrew J via RT" <bug-Net-OpenSSH@rt.cpan.org> >To: >Sent: Wednesday, November 23, 2011 8:49 PM >Subject: [rt.cpan.org #72674] Net::OpenSSH-0.53_04 -- issue with scp *bug fix* > >Wed Nov 23 14:49:27 2011: Request 72674 was acted upon. >Transaction: Ticket created by andrew.j.slezak@jpmorgan.com >      Queue: Net-OpenSSH >    Subject: Net::OpenSSH-0.53_04 -- issue with scp *bug fix* >  Broken in: (no value) >    Severity: (no value) >      Owner: Nobody >  Requestors: andrew.j.slezak@jpmorgan.com >      Status: new >Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=72674 > > > >Author, > >Thank you for this excellent perl module. >When using scp with this module, it passes "-l user" to the scp command. >The scp command expects -l to be a bandwidth limit instead of the username. > >usage: scp [-1246BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file] >          [-l limit] [-o ssh_option] [-P port] [-S program] >          [[user@]host1:]file1 [...] [[user@]host2:]file2 > > >With the changes I've suggested, your module will use the user@host syntax instead of -l user. > >    my @ssh_opts; >    # TODO: are those options really requiered or just do they eat on >    # the command line limited length? >    #push @ssh_opts, -l => $user if defined $user; >    # >    #andrew.j.slezak@jpmorgan.com  -- >    #-l option does not work for scp ... change to user@host >    # >    if (defined $user) { >      $host = "$user\@$host"; >      $host_ssh = "$user\@$host_ssh"; >    } > >If you could update your module it would be most appreciated.  This works for me on Redhat 3/4/5 servers. > > >Thanks & Regards, -Andrew Slezak / JPMorgan > > >This email is confidential and subject to important disclaimers and >conditions including on offers for the purchase or sale of >securities, accuracy and completeness of information, viruses, >confidentiality, legal privilege, and legal entity disclaimers, >available at http://www.jpmorgan.com/pages/disclosures/email.  > > >