Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/schwern/tunnel
Program to making generating SSH tunnels easier
https://github.com/schwern/tunnel
Last synced: about 1 month ago
JSON representation
Program to making generating SSH tunnels easier
- Host: GitHub
- URL: https://github.com/schwern/tunnel
- Owner: schwern
- Created: 2009-08-11T22:07:19.000Z (over 15 years ago)
- Default Branch: master
- Last Pushed: 2009-08-30T22:09:14.000Z (over 15 years ago)
- Last Synced: 2024-10-29T20:08:18.953Z (2 months ago)
- Homepage:
- Size: 70.3 KB
- Stars: 5
- Watchers: 4
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
This is a program to make generating SSH tunnels easier. It allows
you to configure many tunnels using a .tunnelrc configuration file.
It also makes use of autossh to keep the tunnels alive.Installation
------------
Copy tunnel into your PATH.Write a .tunnelrc file in your home directory. Here's an example.
Tunnels:
Default:
th: example.com # the host to tunnel with
autossh: autossh # path to autossh, if you have it
autossh_port: 30000 # port to use for autossh
autossh_poll: 300 # how many seconds between trying to
# reconnect# An example of using SSH as a SOCKS proxy
# on localhost:1080. IM, IRC, web browsers... lots of things
# can talk through a SOCKS proxy
socks:
dynamic: 1 # tell SSH to run as a SOCKS proxy
lp: 1080 # local port to run on# Tunnel your outgoing mail connection to Gmail
# handy for networks which block outgoing mail
outgoing_gmail:
lp: 587
rh: smtp.gmail.com# Tunnel to an SVN server
svn:
lp: 3690
rh: svn.example.com
Requirements
------------Perl 5.8 or up
The Perl modules...
autodie
http://search.cpan.org/dist/autodieYAML::Any
http://search.cpan.org/dist/YAMLOptional
--------
autossh
(Will keep your tunnels alive and reopen them)
http://www.harding.motd.ca/autossh/