Microlib for managing distributed computations using ssh.
Project description
ssh_distributed
ssh_distributed is a very simple microlib for managing distributed computations using ssh.
Note: only works on Linux-based machines.
Install with:
pip install ssh_distributed
Create autossh tunnel with port remapping
import ssh_distributed
ssh_distributed.create_tunnel(
from_host="home00.local",
to_host="home01.local",
from_port=61001,
to_port=61000,
tmux_session_name="autossh_next"
)
Upload directory to hosts
import ssh_distributed
ssh_distributed.upload_to_hosts(
path="<PATH>",
hosts=[
"home00.local",
"home01.local",
"home02.local"
]
)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ssh_distributed-0.2.2.tar.gz
(5.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ssh_distributed-0.2.2.tar.gz.
File metadata
- Download URL: ssh_distributed-0.2.2.tar.gz
- Upload date:
- Size: 5.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d2437f501484a879820ca8fbb084f4907ef2098ccc789b10950e0e1119a3a6cd
|
|
| MD5 |
c316bcacf94c5b7e81efe6035d99d1e6
|
|
| BLAKE2b-256 |
5edf4787767a8f750baec32fc784d6743c5253c880871d8434f5da10272ff564
|
File details
Details for the file ssh_distributed-0.2.2-py3-none-any.whl.
File metadata
- Download URL: ssh_distributed-0.2.2-py3-none-any.whl
- Upload date:
- Size: 7.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b0d1bc8ff46363dfcbfdee5375f7791f2c235d795acc62d3e374ff7ed01d51b8
|
|
| MD5 |
3a97c6cab2610e1edb8da44fd69f634f
|
|
| BLAKE2b-256 |
e61ff73d0f41c8df9446b3990ba3ba6ea46bd8035b2ede701395c6bcdc17c8a4
|