I need to execute commands over host using net ssh perl. but the host gives error in example cmd.pl. Error states:
Can't open more than one channel.I think this is due to restriction imposed on the host which i can't alter. So i made some changes in the ssh2.pm. In ssh2.pm, two channels are opened one is for confirmation after login and the other one is when command is passed on. I deleted the code which opens a channel for confirmation and now only one channel is opened which is at the time when command is passed.
This way i was able to get away with the channel problem, but now i recieve error stating:
wrong channel id recieved.Please help in the issue.
In reply to net ssh perl not working by hi5.ankit
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |