Subject: | SSH session not killed on close |
Date: | Mon, 11 Oct 2010 13:20:40 +0200 |
To: | <bug-Net-Appliance-Session [...] rt.cpan.org> |
From: | <sjors.vanmaris [...] kpn.com> |
Good morning,
I had a problem with using SSH and the Net::Appliance::Session.pm module.
I have a script which connects to a router using SSH, when activating this script via a crontab entree, the SSH session wil not close causing the router to be unreachable via SSH when too much users are connected.
When i activare the scipt via CLI, no problems. The SSH session is killed perfectly.
There is a DESTROY subroutine in the Net::Appliance::Session.pm module which kills the proces only if $Ô matches "win", i made a workaround in the script by setting the $Ô var to "win" and it works fine....but
I think there is a problem with disconnecting a SSH session
I am using Solaris 10 OS and Perl version 5.8.4
Met vriendelijke groet,
Sjors van Maris
Engineer
[cid:image001.gif@01CB6947.19B83C10]
KPN W&O N&S Innovatie NIPA D&E IP
Regulusweg 1
Kamer AB450
2516AC
Den Haag
06 20 43 67 68