Skip to main content

Project description

SSH Client Package

#Simple, Fast and Secure method to:

  • Create automated tools to back-up 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 troubleshooting

##How to use the Package.

###How to send a single command to a remote host ‘in global config mode’

#####Download the package in your computer

pip install sshFRIEND

#####Inside your script, do the following:

  • from sshFRIEND.ssh_connector import *

  • hostname = “your hostname here”

  • username = “your username here”

  • password = “your password here”

  • cmd = “show running-config”

  • channel = ssh_connector(hostname, username, password)

  • output = send_cmd(cmd, channel)

  • print(output)

###How to send a single command to a remote host ‘in config mode’

#####Inside your script, do the following:

  • from sshFRIEND.ssh_connector import *

  • hostname = “your hostname here”

  • username = “your username here”

  • password = “your password here”

  • cmd = “show running-config”

  • channel = ssh_connector(hostname, username, password)

  • output = send_config_cmd(cmd, channel)

  • print(output)

###How to send multiple commands to a remote host ‘in global config mode’

#####Inside your script, do the following:

  • from sshFRIEND.ssh_connector import *

  • hostname = “your hostname here”

  • username = “your username here”

  • password = “your password here”

  • list_of_commands = [“show running-config”, “show running-config”]

  • channel = ssh_connector(hostname, username, password)

  • output = send_cmds(list_of_commands, channel)

  • print(output)

###How to send multiple commands to a remote host ‘in config mode’

##### Inside your script, do the following:

  • from sshFRIEND.ssh_connector import *

  • hostname = “your hostname here”

  • username = “your username here”

  • password = “your password here”

  • list_of_commands = [“show running-config”, “show running-config”]

  • channel = ssh_connector(hostname, username, password)

  • output = send_config_cmds(list_of_commands, channel)

  • print(output)

Metadata

Release files for sshFRIEND 0.0.11

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sshFRIEND 0.0.11
File Size Uploaded Provenance
sshFRIEND-0.0.11.tar.gz 3.6 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for sshFRIEND 0.0.11
File Interpreter ABI Platform
sshFRIEND-0.0.11-py3-none-any.whl Python 3 none any Details

Total release size: 7.8 kB

Release files / sshFRIEND-0.0.11.tar.gz

Download URL sshFRIEND-0.0.11.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
ecd4469b6d55d9420d32c8604d959e3fa0d4d3454b676efb50fead2d03d7bcbf
BLAKE2b-256 checksum
How to use checksums
383f3b2e1ba5b35f96b8efec4417153a0c5259f338dc0f66e0372ad6a1e439e0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.0

Release files / sshFRIEND-0.0.11-py3-none-any.whl

Download URL sshFRIEND-0.0.11-py3-none-any.whl
Size 4.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d2b971bc887a057b32dd0e5d67cbf75842886725128efd720de0bb7d31acba60
BLAKE2b-256 checksum
How to use checksums
f237a86009271c4f6d771e619e2336e46923aa4b1781dcb077ea77198fbf57cc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.0

Security for sshFRIEND 0.0.11

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page