ssh cli scripts

Post Reply
kent2612
Member
Posts: 37
Joined: 15 Nov 2011 04:30

ssh cli scripts

Post 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! :)
one6f

Re: ssh cli scripts

Post 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.
kent2612
Member
Posts: 37
Joined: 15 Nov 2011 04:30

Re: ssh cli scripts

Post 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.
one6f

Re: ssh cli scripts

Post 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.
Image

Image

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
You do not have the required permissions to view the files attached to this post.
Post Reply

Return to “OmniSwitch 6850 / 6850E”