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

Owner: Nobody in particular
Requestors: john [...]

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 [...]
From: John Payne <john [...]>
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 We need stdin to get attached to the interactive part... but we're also not going to set stdin on the cmd() invocation. *** Tue Jan 20 21:50:58 2009 --- 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 <> Dresden Perl Mongers <>

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

Please report any issues with to