Socket
Socket
Sign inDemoInstall

ssh-proxy

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ssh-proxy

Run a SOCKS proxy over an SSH dynamic forwarding connection


Maintainers
1

SSH Proxy

A simple tool for temporarily configuring a SOCKS proxy over an SSH dynamic forwarding connection.

Installation

To install:

.. code-block:: bash

$ pip install ssh-proxy

Usage

Run the SSH proxy with:

.. code-block:: bash

$ 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:

.. code-block:: bash

$ sshproxy myhost --sudo

For other command line options, run:

.. code-block:: bash

$ 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.

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc