Page 1 of 1
ssh cli scripts
Posted: 13 Mar 2012 03:46
by kent2612
Hi all,
I need help on how to create a script to rollout changes to switches via ssh where user will be prompted to enter username and password, CLI will be send to switches making and save any changes. Thanks in advanced!

Re: ssh cli scripts
Posted: 18 Mar 2012 14:18
by one6f
Hi,
OmniVista includes Telnet/
SSH scripting feature, that also supports java scripts. You don't need to enter user name and password for every switch, OV do it for you automatically. Here is a small
how to.
Re: ssh cli scripts
Posted: 22 Mar 2012 23:33
by kent2612
Hi one6f,
There is an option of send script using telnet user id & password (Configuration -> Telnet -> Send Script), but how do I go about using ssh? Thanks.
Re: ssh cli scripts
Posted: 23 Mar 2012 02:26
by one6f
Hi,
you control it by Discovery (SNMP Setup - Shell Preference) or later in Topology - Edit Discovery Manager Entry. You can redefine any field except the device name. Here you need to specify SSH as the default Command Line Interface, if you enable the Prefer SSH checkbox under Shell Window.
On the switch you can disable telnet and ftp:
Code: Select all
no aaa authentication telnet
no aaa authentication ftp
or disable ip services
Code: Select all
no ip service telnet
no ip service ftp