Wrappers for remote exec, local exec.
Project description
SSH Helper
Python Library to create SSH tunnels.
SSHTunnel(object)
import import ssh_tunnel
tun = ssh_tunnel.SSHTunnel(
<remote-site> [local_port(4444), remote_port(3306),
remote interface("localhost"), remote_user=<current_user>, spin=(True,False),
foreground=(True,False), immediate=(True, False)
)
RemoteDB(SSHTunnel):
-- Execute MySQL queries over a forwarded SSH connection
remote_db = ssh_tunnel.RemoteDB(
db_hostname, db_user=<current_user>, db_pass=<None>, db_port=4444, database=<None>, **SSHTunnel(*, **)
)
Tunnels(object):
-- Registry for SSH Tunnels; also allows iteration (for example, to kill the connection.) Allows iteration. -- To register a tunnel, use the register()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
framelake-0.1.0.tar.gz
(7.1 kB
view hashes)
Built Distribution
Close
Hashes for framelake-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d031fd457887eab1e9fd2852adcceaa9951b7504f8c40a0020b1c48abb244aa3 |
|
MD5 | f2592457086c76a20f7f05a9afd2b2db |
|
BLAKE2b-256 | 80d8a8e71ca403e4f874c3c0836e33ca37aa00b5f261d56062650f05b9a9f637 |