in reply to Re^2: Net::OpenSSH and Extreme Switch
in thread Net::OpenSSH and Extreme Switch

I guess I don't understand why if it works from the command line using OpenSSH, it won't work from the script.

See Re: Unable to run command on Cisco switch.

Replies are listed 'Best First'.
Re^4: Net::OpenSSH and Extreme Switch
by rdl (Initiate) on Nov 24, 2009 at 21:18 UTC

    According to Extreme, they officially do not support 1 line ssh commands and do not seem interested in changing that.

    Strike one for Extreme switches

    thanks again!

      Latest update for anybody that may be interested

      Exreme TAC finally fessed up and admitted that this was a bug. It has been fixed in 12.3.3.x code. I tested it with 12.3.3.6 code and it seems to work fine.

Re^4: Net::OpenSSH and Extreme Switch
by rdl (Initiate) on Nov 24, 2009 at 14:13 UTC

    Salva, thanks for the clarification. I believe that I am starting to understand now. Not being big on SSH (Ok, I simply don't like it), I did not understand the two modes. I have a script that I have been using for several years using the Net::Telnet module with great success. I am trying to migrate this script to using SSH but not having a lot of luck. Was hoping that this module would be more of a "drop in" replacement (understanding that specifics would have to change).

    I was hoping to avoid expect, but will look into that option further.

    Thanks again for the support.