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!
ssh cli scripts
ssh cli scripts
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!
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!
-
one6f
Re: ssh cli scripts
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.
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
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.
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.
-
one6f
Re: ssh cli scripts
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:or disable ip services
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 ftpCode: Select all
no ip service telnet
no ip service ftpYou do not have the required permissions to view the files attached to this post.
