starting ssh tunnels

Reinhard Tartler siretart at ubuntu.com
Sat Jul 11 08:23:29 UTC 2009


Admin <admin at enabled.com> writes:

> Hi there,
>
> I want to start a bunch of ssh tunnels at the time I log in.  What are 
> my options to getting this handled?

welcome autossh:

,----
| Package: autossh (Installed)
| Priority: optional
| Section: universe/net
| Installed-Size: 112
| Maintainer: Ubuntu MOTU Developers <ubuntu-motu at lists.ubuntu.com>
| Original-Maintainer: Filippo Giunchedi <filippo at debian.org>
| Architecture: i386
| Version: 1.4b-1
| Depends: libc6 (>= 2.4), openssh-client | ssh-client
| Filename: pool/universe/a/autossh/autossh_1.4b-1_i386.deb
| Size: 24582
| MD5sum: 37d7ab4bf8d4edd212e399a8a75359e8
| SHA1: 5c44970d68191946d39058ae9844c1367f44328a
| SHA256: 9305a264adbb1e8cad484045dc73cd9fc9cee9a22de1581fe6e3102a57b8e31e
| Description: Automatically restart SSH sessions and tunnels
|  autossh is a program to start an instance of ssh and monitor it, restarting it
|  as necessary should it die or stop passing traffic. The idea is from rstunnel
|  (Reliable SSH Tunnel), but implemented in C. Connection monitoring is done
|  using a loop of port forwardings. It backs off on the rate of connection
|  attempts when experiencing rapid failures such as connection refused.
| Homepage: http://www.harding.motd.ca/autossh/
| Bugs: https://bugs.launchpad.net/ubuntu/+filebug
| Origin: Ubuntu
`----

start this in your .xsession or call that in some /etc/init.d script.

-- 
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4





More information about the ubuntu-users mailing list