SSHTUNNEL(1)
π SSHTUNNEL(1) β the sshtunnel girlies' guide π
okay bestie, so this is the manual for sshtunnel, and it lives in the User Commands section of the manual pages. pull up a chair, grab a strawberry, and let's get into it β¨
πΈ NAME πΈ
sshtunnel β SSH tunnels to remote server π¦
π DESCRIPTION π
here's the whole usage vibe, verbatim, no notes:
usage: sshtunnel [-h] [-U SSH_USERNAME] [-p SSH_PORT] [-P SSH_PASSWORD]
-R IP:PORT [IP:PORT ...] [-L [IP:PORT ...]] [-k SSH_HOST_KEY]
[-K KEY_FILE] [-S KEY_PASSWORD] [-t] [-v] [-V] [-x IP:PORT]
[-c SSH_CONFIG_FILE] [-z] [-n] [-d [FOLDER ...]] ssh_address
Pure python ssh tunnel utils, Version 0.1.4 π
β¨ positional arguments: β¨
ssh_addressβ the SSH server IP address (that's your GW when you're doing SSH tunnels, iykyk). you set it with--ssh_addressif it comes immediately after-Ror-L. π
π options: π
-h,--helpβ shows this help message and dips. iconic behaviour fr. π-U SSH_USERNAME,--username SSH_USERNAMEβ the username for your SSH server account π«Ά-p SSH_PORT,--server_port SSH_PORTβ the SSH server TCP port (default:22) π-P SSH_PASSWORD,--password SSH_PASSWORDβ the password for your SSH server account π-R IP:PORT [IP:PORT ...],--remote_bind_address IP:PORT [IP:PORT ...]β remote bind address sequence:ip_1:port_1 ip_2:port_2 ... ip_n:port_n. it's equivalent tossh -Lxxxx:IP_ADDRESS:PORT. if the port is omitted, it defaults to22. example:-R 10.10.10.10: 10.10.10.10:5900π-L [IP:PORT ...],--local_bind_address [IP:PORT ...]β local bind address sequence:ip_1:port_1 ip_2:port_2 ... ip_n:port_n. the elements can also be valid UNIX socket domains:/tmp/foo.sock /tmp/bar.sock ... /tmp/baz.sock. equivalent tossh -LPORT:xxxxxxxxx:xxxx, where the local IP address is optional. by default it will listen on all interfaces (0.0.0.0) and pick a random port β main character energy, honestly. example:-L :40000πΈ-k SSH_HOST_KEY,--ssh_host_key SSH_HOST_KEYβ the gateway's host key π-K KEY_FILE,--private_key_file KEY_FILEβ the RSA/DSS/ECDSA private key file ποΈ-S KEY_PASSWORD,--private_key_password KEY_PASSWORDβ the RSA/DSS/ECDSA private key password π€«-t,--threadedβ allow concurrent connections to each tunnel. multitasking queen π-v,--verboseβ increase output verbosity (default:ERROR) π’-V,--versionβ show the version number and quit π-x IP:PORT,--proxy IP:PORTβ the IP and port of the SSH proxy to the destination π°οΈ-c SSH_CONFIG_FILE,--config SSH_CONFIG_FILEβ the SSH configuration file, defaults to~/.ssh/configπ-z,--compressβ ask the server for compression over the SSH transport ποΈ-n,--noagentβ disables looking for keys from an SSH agent π βοΈ-d [FOLDER ...],--host_pkey_directories [FOLDER ...]β a list of directories where SSH pkeys (in the formatid_*) may be found π
and that's the whole page, bestie β you ate that π β¨
this was sshtunnel 0.1.4, from June 2022, and that's the vibe check, periodt. go make some tunnels, ily π«Άπ
π¦ where this page comes from
- debian bookworm: python3-sshtunnel 0.1.4-3 Β· MIT
- debian trixie: python3-sshtunnel 0.1.4-3 Β· MIT
- ubuntu noble: python3-sshtunnel 0.1.4-3 Β· MIT
- ubuntu questing: python3-sshtunnel 0.1.4-3
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms