Skip to content

Basic Script with GUI or on CLI for SSH to Cisco Routers or Switches and run some commands on it.

License

Notifications You must be signed in to change notification settings

c1c1/SSH-Cisco-Config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SSH-Cisco-Config

  • Basic Script with GUI or on CLI for SSH to Cisco Routers or Switches and run some commands on it.

Before use:

  • Python Version 2
  • Needed an hostfile with the name of the device (EX:192.68.2.250), see example file called Hosts.
  • Needed an configurationfile with the commands to send via ssh to device, see example file called Commands.
  • If using GUI.py change lines 10 & 11 of sshing.py to correct user and password, on CLI.py it is asked to user, for each equipment.

Modules used:

Help for wxpython:

  • After Gooey is installed, make sure wxPython is installed on your machine as well. Unfortanately, this cannot be done from the CLI and should be manually downloaded from the wxPython website.

To use:

There are two ways to run this script one is form Shell or with a GUI :

  $ python CLI.py <hostfile> <commandsfile>
  or
  $ python GUI.py

Or simply double click on GUI.py

To do:

  • Create hide textbox for password on gooey
  • Add textbox for Username and Password on gooey

License

MIT

USE IT ON YOUR OWN RISK !

About

Basic Script with GUI or on CLI for SSH to Cisco Routers or Switches and run some commands on it.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages