python3/python2 SSH module for ssh session management for multivendor network devices (Juniper, Cisco IOS, Cisco ASA, Arista). This module is entirely based on Netmiko
sshASA 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
Example:
#!/usr/bin/env python3
import sys
from sshASA import sshHost as ssh
def showVersion(host):
out = host.send_command("show version")
print(out)
showVersion(ssh(sys.argv[1]))
How to run it:
federico@federico:~/git/github/python/modules/python3 $ python3 importTest.py FIREWALL01 Username: olivierif Password: Enable password: Session established with Hostname:FIREWALL01 IP:10.10.10.93 Cisco Adaptive Security Appliance Software Version 9.1(7)23 Device Manager Version 7.5(2)153 [...]
Metadata
Release files for sshASA 2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| sshASA-2.0.tar.gz | 2.2 kB | Without provenance | Details for sshASA-2.0.tar.gz |
Release files / sshASA-2.0.tar.gz
| Download URL | sshASA-2.0.tar.gz |
|---|---|
| Size | 2.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e682d8d5eeb1a6f1e8639a263c8069e44852cbfd3fa2e26f18682eaab6b9cdac
|
|
BLAKE2b-256 checksum How to use checksums |
a777ba72836ab4f2b6f31005108b0f95e43ef17efefeb7550de63f34419289ca
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for sshASA 2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.