Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

c1c1/SSH-Cisco-Config

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
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

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.