=======
Pool of SSH channels accessible via RESTful API and command line utility

Install
-------
To install sshpool, simply:
$ pip install sshpool
sshpoold
--------
sshpoold utility is responsible for maintaining pool of SSH channels and allow communication via RESTful API
$ sshpoold -h
usage: sshpoold [-h] [--channel CHANNEL] [--host HOST] [--port PORT]
optional arguments:
-h, --help show this help message and exit
--channel CHANNEL alias://user:pass@host:port
--host HOST SSHPool interface (default: 127.0.0.1)
--port PORT SSHPool listening port (default: 8877)
Start sshpoold utility:
$ sshpoold
[2013-07-16 22:12:46,291] * Running on http://127.0.0.1:8877/
Optionally, sshpoold also accepts one or more SSH channel configuration:
$ $ sshpoold --channel=localhost://localhost
[2013-07-16 22:14:31,325] connecting to localhost://abhinavsingh:None@localhost:22
[2013-07-16 22:14:31,331] * Running on http://127.0.0.1:8877/
[2013-07-16 22:14:31,815] connected to localhost://abhinavsingh:None@localhost:22
sshpoolctl
----------
sshpoolctl provides an interactive shell to communicate with SSH channels via RESTful API
$ sshpoolctl -h
usage: sshpoolctl [-h] [--host HOST] [--port PORT]
optional arguments:
-h, --help show this help message and exit
--host HOST SSHPool interface (default: 127.0.0.1)
--port PORT SSHPool listening port (default: 8877)
Start sshpoolctl utility:
$ sshpoolctl
==> Press Ctrl-C to exit <==
sshpool> help
Documented commands (type help <topic>):
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
exit help quit run start status stop
Run arbitrary shell commands:
sshpool> help run
run <alias> <cmd> Run arbitrary commands over a channel
sshpool> run localhost echo hello world
hello world
sshpool> run localhost pwd
/Users/abhinavsingh
Start a new SSH channel:
sshpool> help start
start <dsn> Add a new channel
sshpool> start local://localhost
OK
View status of all SSH channels:
sshpool> help status
status View status of started channels
sshpool> status
local abhinavsingh:None@localhost:22 running 53
localhost abhinavsingh:None@localhost:22 running 449
Stop a SSH channel:
sshpool> help stop
stop <alias> Stop an existing channel
sshpool> stop localhost
OK
sshpool> status
local abhinavsingh:None@localhost:22 running 154
Metadata
Release files for sshpool 0.1.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 |
|---|---|---|---|---|
| sshpool-0.1.0.tar.gz | 7.9 kB | Without provenance | Details for sshpool-0.1.0.tar.gz |
Release files / sshpool-0.1.0.tar.gz
| Download URL | sshpool-0.1.0.tar.gz |
|---|---|
| Size | 7.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
85bee2a6a67f00470eb2d9a1a1f17c41098ae79a483d9cbabb4f277657bfd6b6
|
|
BLAKE2b-256 checksum How to use checksums |
20da98b4e329777d63a3f382ac4cd482d5d64ca8d39dfab8702cae5c3a8188fe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for sshpool 0.1.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.