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

tunnel_vision

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tunnel_vision

  • 0.0.2
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

TunnelVision!

What is it?

Simple tool which lets you create definitions of ssh tunnels your project will need.

By issuing one command it opens all required ssh tunnels and lets you carry on with your work.

Scratching an itch:

I find myself working remotely and/or changing machines more often than I could imagine.

Because at my day job I'm working only on a part of a big system I need to maintain connectivity of my development environment with other services by using SSH tunnels.

At worst I need 4 tunnels for my dev setup to be usable. sigh

So far I've been maintaining a set of different shell scripts which helped me establish SSH tunnels to different servers and such.

TunnelVision solves that problem.

Inspired by

  • takeup by Maxim Chernyak
  • foreman by David Dollar

Installation

gem install tunnel_vision

Usage

  • tunnelvision - shows simple help
  • tunnelvision generate - generates example tunnels.yaml file
  • tunnelvision start - opens all tunnels defined in tunnels.yaml
  • tunnelvision status - shows information about opened tunnels
  • tunnelvision stop - closes all opened tunnels defined by tunnels.yaml

Requirements

  • ruby 1.8.7 (probably works with 1.9.2)
  • OpenSSL support enabled in Ruby (OSX comes with that, Linux needs ruby-openssl package)
  • net-ssh gem (gets installed with TunnelVission)

Important!

You need to set up ssh-key based authentication before using TunnelVision. While it's possible to use passwords straight from tunnels.yaml it's horribly insecure!

You should always use ssh keys anyway.

Bugs?

Yeah, plenty.

This gem was created in few hours, so it has few things which can explode. I will hunt them down.

Todo

  • colors

Licence

TunnelVision is a product of Łukasz Korecki (lukasz@coffeesounds.com)

Licenced under MIT Licence

FAQs

Package last updated on 05 Jul 2011

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