Re: [Ssh-sftp-perl-users] Net::SSH::Perl is hanging on long command lines
Brought to you by:
dbrobins
From: Thierry C. <thi...@gm...> - 2013-06-10 18:08:50
|
I am not sure it is the same bug we have experienced, but it looks similar. I had worked a little bit to solve this bug, but the slight improvements I have produced wasn't enough, and I don't even proposed its to the maintainer. tcpdump shouldn't give you a lot of information, I am afraid, but you could find something with the debug options. From what I have seen, the protocol is not fully implanted (the rsh inside the tunnel, I mean). The problem with Net::SSH::Perl is that it doesn't evolve anymore. Now, I use Net::Openssh. It is not a pure Perl module, but it is a very nice wrapper, efficient, with all the functions I loved in Net::SSH::Perl. It doesn't needed too much dependencies, and it doesn't have this stupid bug. Sorry, it doesn't help. Thierry Le 10 juin 2013 à 12:40, James Patterson <jam...@op...> a écrit : > I have a script that connects to a server and checks if a list of rpms > are installed. On some servers this hangs, on others it works fine. > > The problem seems to occur when the command being executed is longer > than about 22000 characters. > > I've uploaded a simplified version of the script - that only does an > echo - to pastebin: > http://pastebin.com/NtFmkvZz > > I am running Net::SSH::Perl 1.34-9 on RHEL6.4 > > Next I'll bring out tcpdump next, and look at what is common between the > failing servers, but I first wanted to ask if anyone had any suggestions > or ideas? > > -- > James Patterson > jam...@op... > > -- > http://www.fastmail.fm - IMAP accessible web-mail > > > ------------------------------------------------------------------------------ > How ServiceNow helps IT people transform IT departments: > 1. A cloud service to automate IT design, transition and operations > 2. Dashboards that offer high-level views of enterprise services > 3. A single system of record for all IT processes > http://p.sf.net/sfu/servicenow-d2d-j > _______________________________________________ > Ssh-sftp-perl-users mailing list > Ssh...@li... > https://lists.sourceforge.net/lists/listinfo/ssh-sftp-perl-users |