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> |
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>