New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

net-ssh-socks

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

net-ssh-socks

  • 0.0.2
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Net::SSH::Socks

Description

Net::SSH::Socks is a library for programmatically creating a SOCKS proxy server that tunnels through SSH. Similar to Net::SSH::Service::Forward#local except the host is dynamic (determined by the client application, such as a browser).

Useful for securing traffic over SSH or getting in/out of a firewall.

Use cases

  • If your company blocks certain sites/resources but allows SSH, then you can tunnel out to a machine outside the firewall.
  • If you need to access sites/resources inside a firewall, then you can tunnel into a machine inside the firewall.
  • Encrypt your traffic to protect yourself from things like Firesheep on public wifi.

Synopsis

require 'net/ssh/socks'

Net::SSH.start('host', 'user') do |ssh|
  ssh.forward.socks(8080)
  ssh.loop { true }
end

Now, configure your browser to use a SOCKS proxy at localhost:8080

Install

gem install net-ssh-socks

FAQs

Package last updated on 22 Dec 2010

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

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc