Net-SSH-Perl - Re: Channel open failure: 1: reason 4: when connecting to Cisco router

Posted on Sun Jul 23 23:46:34 2006 by samvong in response to 1745 (See the whole thread of 18)
Re: Channel open failure: 1: reason 4: when connecting to Cisco router
I am having the same problem executing multiple commands. Did anyone find a way to do this? If so, could you please let me know? thanks. I want to be able to do this too. ($stdout, $stderr, $exit) = $ssh->cmd("show version"); ($stdout, $stderr, $exit) = $ssh->cmd("show run"); ($stdout, $stderr, $exit) = $ssh->cmd("show snmp");
Direct Responses: 7735 | Write a response