Projects / Autossh / Comments

Comments for Autossh

15 Oct 2012 15:52 ctor

Once you have set up your SSH keys on the server you can run multiple instances of autoSSH (I use for vim and console) by setting an alias for this loop in the bashrc:

alias cxn='i=20000; autossh -M $i -o TCPKeepAlive=yes -o ServerAliveCountMax=3 -o ServerAliveInterval=10 user@server -L 1091:localhost:80; while [ $? -ne 0 ]; do let i=i+1; autossh -M $i -o TCPKeepAlive=yes -o ServerAliveCountMax=3 -o ServerAliveInterval=10 user@server -L 1091:localhost:80; done;'

Screenshot

Project Spotlight

ReciJournal

An open, cross-platform journaling program.

Screenshot

Project Spotlight

Veusz

A scientific plotting package.