Skip to main content

ssh module for Cisco IOS

Project description

python3/python2 SSH module for session management for multivendor network devices (Juniper, Cisco IOS, Cisco ASA, Arista). Based on Netmiko

sshIOS provides a ready-to-go ssh module, asking for Username, Password and Enable Password. Error handling and promt information are also provided to facilitate the user in case of wrong username or password

All netmiko commands are available with this module


#!/usr/bin/env python3
import sys
from sshIOS import sshHost as ssh

def showVersion(host):
    out = host.send_command("show version")


How to run it:

federico@federico:~/git/github/python/modules/python3 $ python3 ios.sw11.lab
Username: root
Session established with Hostname: Hostname: ios.sw11.lab IP:

Cisco IOS Software, C2600 Software (C2600-ADVIPSERVICESK9-M), Version 12.3(4)T4,  RELEASE SOFTWARE (fc2)
Technical Support:
Copyright (c) 1986-2004 by Cisco Systems, Inc.

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 sshIOS, version 2.0
Filename, size File type Python version Upload date Hashes
Filename, size sshIOS-2.0.tar.gz (2.2 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 SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page