Skip Menu |
 

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

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

People
Owner: hirose31 [...] gmail.com
Requestors: rwc [...] lanl.gov
Cc:
AdminCc:

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



Subject: How to suppress shell
Date: Thu, 11 Oct 2007 10:10:10 -0600
To: bug-Net-SSH-Perl [...] rt.cpan.org
From: "Roger W. Crandell" <rwc [...] lanl.gov>
Download (untitled) / with headers
text/plain 642b
Should this code suppress opening a shell? my $suppress_shell = "true"; my $ssh = Net::SSH::W32Perl->new($host, debug => 1, protocol => 2); $ssh->login($user, $pass, $suppress_shell); When I look at the debug output, it appears the module is still requesting a shell? Login completed, opening dummy shell channel. channel 0: new [client-session] Requesting channel_open for channel 0. channel 0: open confirm rwindow 1000 rmax 1000 Got channel open confirmation, requesting shell. Requesting service shell on channel 0. channel 1: new [client-session] Requesting channel_open for channel 1. Thanks -- Roger W. Crandell <rwc@lanl.gov>
Download (untitled) / with headers
text/plain 561b
On Thu Oct 11 12:11:02 2007, rwc@lanl.gov wrote: Show quoted text
> Should this code suppress opening a shell? > > my $suppress_shell = "true"; > > my $ssh = Net::SSH::W32Perl->new($host, debug => 1, protocol => 2); > $ssh->login($user, $pass, $suppress_shell);
At least in current version v1.34+ this works. Admittedly there is no more ::W32Perl in the meantime, but at least in general I verified the suppress_shell works. Please reopen if the problem persits. Kind regards, 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.