Skip Menu |
 

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

Report information
The Basics
Id: 42583
Status: resolved
Priority: 0/
Queue: Net-SSH-Perl

People
Owner: Nobody in particular
Requestors: john [...] sackheads.org
Cc:
AdminCc:

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



Subject: scp program
Date: Tue, 20 Jan 2009 17:29:12 -0500
To: bug-Net-SSH-Perl [...] rt.cpan.org
From: John Payne <john [...] sackheads.org>
Download (untitled) / with headers
text/plain 783b
In order to use a Net::SSH::Perl script as a program to scp (ie scp - S my_perl_script) there's a "bug" in SSH1.pm. We need stdin to get attached to the interactive part... but we're also not going to set stdin on the cmd() invocation. *** SSH1.pm.OLD Tue Jan 20 21:50:58 2009 --- SSH1.pm Tue Jan 20 21:51:25 2009 *************** *** 278,284 **** } $ssh->debug("Entering interactive session."); ! $ssh->_start_interactive(1); my($stdout, $stderr, $exit) = map $ssh->{"_cmd_$_"}, qw( stdout stderr exit ); --- 278,284 ---- } $ssh->debug("Entering interactive session."); ! $ssh->_start_interactive(defined $stdin ? 1 : 0); my($stdout, $stderr, $exit) = map $ssh->{"_cmd_$_"}, qw( stdout stderr exit );
Download (untitled) / with headers
text/plain 122b
This was fixed in v1.34. Steffen -- Steffen Schwigon <ss5@renormalist.net> Dresden Perl Mongers <http://dresden-pm.org/>


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.