Go4Expert

Go4Expert (http://www.go4expert.com/)
-   Perl (http://www.go4expert.com/forums/perl/)
-   -   Perl Net SSH not working (http://www.go4expert.com/forums/perl-net-ssh-t23423/)

hi5.ankit 27Sep2010 12:28

Perl Net SSH not working
 
Hi,
I am not able to execute commands over the remote machine using example cmd.pl
I get the following output and then the program stops responding and i have to terminate it.

Quote:

hpnsez92: Next method to try is password.
hpnsez92: Trying password authentication.
hpnsez92: Login completed, opening dummy shell channel.
hpnsez92: channel 0: new [client-session]
hpnsez92: Requesting channel_open for channel 0.
hpnsez92: channel 0: open confirm rwindow 131072 rmax 32768
hpnsez92: Got channel open confirmation, requesting shell.
hpnsez92: Requesting service shell on channel 0.
hpnsez92: channel 1: new [client-session]
hpnsez92: Requesting channel_open for channel 1.
hpnsez92: Requesting service shell on channel 1.
hpnsez92: Entering interactive session.
hpnsez92: Channel open failure: 1: reason 1: Cannot open more than one channel
So pls tell what should i do. This message is may be due to remote machine restrictions which i cannot alter.


All times are GMT +5.5. The time now is 10:04.