Skip to main content

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()

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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

framelake-0.1.0-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

Details for the file framelake-0.1.0.tar.gz.

File metadata

  • Download URL: framelake-0.1.0.tar.gz
  • Upload date:
  • Size: 7.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.8

File hashes

Hashes for framelake-0.1.0.tar.gz
Algorithm Hash digest
SHA256 850ff3baca65db5235abc130b3de05ea111e4eaa9c3b7d3944860170db1dfca6
MD5 b93a614f321133377136a91d81dd697b
BLAKE2b-256 e8b362f8877e016968e103c22401f3c10bcc9d589d48d284b2fd996257cd7071

See more details on using hashes here.

File details

Details for the file framelake-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: framelake-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 8.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.8

File hashes

Hashes for framelake-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d031fd457887eab1e9fd2852adcceaa9951b7504f8c40a0020b1c48abb244aa3
MD5 f2592457086c76a20f7f05a9afd2b2db
BLAKE2b-256 80d8a8e71ca403e4f874c3c0836e33ca37aa00b5f261d56062650f05b9a9f637

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page