SSHTUNNEL(1)

πŸ“¦
version 0.1.4 Β· 3 versions
, in debian bookworm, debian trixie, ubuntu noble, ubuntu questing

πŸ’– 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_address if it comes immediately after -R or -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 to ssh -Lxxxx:IP_ADDRESS:PORT. if the port is omitted, it defaults to 22. 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 to ssh -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 format id_*) 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