A simple tool for temporarily configuring a SOCKS proxy over an SSH dynamic forwarding connection.
Installation
To install:
$ pip install ssh-proxy
Usage
Run the SSH proxy with:
$ sshproxy hostname
where the hostname is a valid hostname provided to the SSH command line, e.g. user@domain.com, 100.10.100.10. If you need to configure SSH keys etc., it is recommended to do so using your ~/.ssh/config file, e.g.:
Host myhost
HostName myhost.com
User myuser
IdentityFile ~/.ssh/myhost
networksetup requires enhanced permissions to run. To avoid entering your password in a dialog several times, run with --sudo to run networksetup as root:
$ sshproxy myhost --sudo
For other command line options, run:
$ sshproxy --help
Contribute
The source is hosted in GitHub at https://github.com/acroz/ssh-proxy.git. At present the code assumes that no password needs to be entered and that the user is on a Mac and therefore has networksetup available. Improvements, including ridding the code of these assumptions, are welcome via pull request.
Metadata
Release files for ssh-proxy 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ssh-proxy-0.1.2.tar.gz | 3.4 kB | Without provenance | Details for ssh-proxy-0.1.2.tar.gz |
Release files / ssh-proxy-0.1.2.tar.gz
| Download URL | ssh-proxy-0.1.2.tar.gz |
|---|---|
| Size | 3.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e0575543ed75a46c0d9386059c787ca533a2a0039d7e95fcdf4c489d7e45a235
|
|
BLAKE2b-256 checksum How to use checksums |
58574ec0e9c9069ab79e7edf7bfb92047969c02201263209638a2007b619c0c4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for ssh-proxy 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.