Project

canals

0.0
No commit activity in last 3 years
No release in over 3 years
A console utility to help build ssh tunnels and keep them up
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 3.4

Runtime

~> 0.20.3
 Project Readme

Gem Version

Canals: Help manage SSH tunnels

Canals eases the process of creating and managing SSH tunnels. Behind the scenes, Canals creates SSH tunnels using the standard OpenSSH library, but it helps with making the process more forward and by remembering those tunnels between usages.

Instalation

gem install canals
canal setup wizard

SSH tips

Keep Alive

SSH tunnels tend to die after some time. it's sad but true. but we can do something to try and keep them alive as long as possible. Edit your ~/.ssh/config file (and if it doesn't exist, create it) and add the following 2 lines:

Host *
  ServerAliveInterval 60

so in the end:

$ cat ~/.ssh/config
Host *
  ServerAliveInterval 60

$ chmod 600 ~/.ssh/config
$ chown uesr:group ~/.ssh/config

(where user:group is your user:group on your system)