- Basic Script with GUI or on CLI for SSH to Cisco Routers or Switches and run some commands on it.
- 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.
- 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.
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
- Create hide textbox for password on gooey
- Add textbox for Username and Password on gooey
MIT
USE IT ON YOUR OWN RISK !