Skip to main content

SSH Client Framework for Network Automation

Project description

SSH Client Framework

This framework is to be used for DevOps, Infrastructure As Code and Network Automation projects.

Advantages:

Simple, Fast and Secure method to:

  • Create automated tools to backup Routers, Switches and Access-Points
  • Create automated tools for dynamic network configuration generation
  • Create automated tools for configurations roll-out
  • Create automated tools for network devices audit
  • Create automated tools for network devices inventory generation
  • Create automated tools for network devices trouble-shooting

How to use the framework.

Example 1

To send a single command to multiple remote machines in parallel:

  1. "pip install juraSSH" in your machine
  2. "from juraSSH import oneCMD"
  3. my_hosts = ["8.8.8.555", "4.4.4.444"]
  4. oneCMD.run_one_cmd(username, password, "show clock", my_hosts)

Example 2

To send multiple commands to multiple remote machines in parallel:

  1. "pip install juraSSH" in your machine
  2. "from juraSSH import multipleCMDs"
  3. my_hosts = ["8.8.8.555", "4.4.4.444"]
  4. commands = ["show clock", "show ip int brief", "show version"]
  5. multipleCMDs.run_multiple_cmds(username, password, commands, my_hosts)

You can execute multiple command on hundreds or thousands devices in parallel !!.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for juraSSH, version 1.12
Filename, size File type Python version Upload date Hashes
Filename, size juraSSH-1.12-py3-none-any.whl (5.3 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size juraSSH-1.12.tar.gz (3.4 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page