ssh_tunnel statistics: fhc-beast to old-beast

Time: 2007-Oct-14 19:00:24 Sun

Current tunnel state: disabled          Current tunnel condition: DOWN

loader stats

------ loader (pid: 9645 ) ------------ (v3.26 2006/04/15) ----- State: disabled DOWN
Time:                2006-Aug-06 11:50:05 Sun
client:              fhc-beast
server:              old-beast
client heartbeat:    Client Heartbeat
server heartbeat:    Server Heartbeat
server heartbeat 1:  Server Heartbeat 1
server heartbeat 2:  Server Heartbeat 2
server heartbeat 3:  Server Heartbeat 3
server heartbeat 4:  Server Heartbeat 4
Sleep time:          296
loader loop counter: 0
bad port tests:      0     last: none yet
failed file updates: 0     last: none yet
tunnels killed:      3     last: 2006-Aug-06 11:50:05 Sun
emails sent:         0     last: none yet
email addresses:     john@larsen-family.us
loader started:      YYYY-MMM-DD HH:MM:SS DOW
debug flags:         0x0

tunnel stats

------ tunnel (pid: 20781 ) ------------ (v3.26 2006/04/15) ----- State: enabled UP
Time:                2006-Apr-15 23:31:51 Sat
client:              fhc-beast
server:              old-beast
client heartbeat:    Sat Apr 15 23:31:42 EDT 2006
server heartbeat:    Sat Apr 15 23:27:03 EDT 2006
Sleep time:          296
tunnel loop counter: 27
bad port tests:      0     last: none yet
emails sent:         1     last: 2006-Apr-15 21:23:19 Sat
email addresses:     john@larsen-family.us
tunnel started:      2006-Apr-15 21:23:26 Sat
debug flags:         0x0

Current users, uptime, and load average

 19:00:24 up 136 days, 13:03,  0 users,  load average: 0.24, 0.11, 0.09
USER     TTY        LOGIN@   IDLE   JCPU   PCPU WHAT

Current processes

UID        PID  PPID  C STIME TTY          TIME CMD
root         1     0  0 May31 ?        00:02:41 init
root         2     1  0 May31 ?        00:00:00 [keventd]
root         3     1  0 May31 ?        00:00:04 [kapmd]
root         4     1  0 May31 ?        00:00:06 [ksoftirqd_CPU0]
root         5     1  0 May31 ?        00:02:36 [kswapd]
root         6     1  0 May31 ?        00:00:00 [bdflush]
root         7     1  0 May31 ?        00:00:16 [kupdated]
root         8     1  0 May31 ?        00:00:00 [mdrecoveryd]
root        88     1  0 May31 ?        00:01:17 devfsd /dev
root       186     1  0 May31 ?        00:00:00 [khubd]
root       762     1  0 May31 ?        00:00:20 /sbin/ifplugd -w -b -i eth0
rpc        778     1  0 May31 ?        00:00:00 [portmap]
root       797     1  0 May31 ?        00:04:11 syslogd -m 0
root       806     1  0 May31 ?        00:00:00 klogd -2
rpcuser    877     1  0 May31 ?        00:00:00 [rpc.statd]
xfs        994     1  0 May31 ?        00:00:00 [xfs]
root      1072     1  0 May31 ?        00:00:00 /usr/sbin/apmd -p 10 -w 5 -W -P /usr/sbin/pmsuspend
daemon    1091     1  0 May31 ?        00:00:00 [atd]
root      1114     1  0 May31 ?        00:00:00 saslauthd -a pam -T
root      1127  1114  0 May31 ?        00:00:00 saslauthd -a pam -T
root      1128  1114  0 May31 ?        00:00:00 saslauthd -a pam -T
root      1129  1114  0 May31 ?        00:00:00 saslauthd -a pam -T
root      1130  1114  0 May31 ?        00:00:00 saslauthd -a pam -T
root      1137     1  0 May31 ?        00:00:17 ntpd -A
root      1159     1  0 May31 ?        00:24:30 /usr/sbin/sshd
daemon    1181     1  0 May31 ?        00:30:21 [tmdns]
root      1212     1  0 May31 ?        00:00:00 xinetd -stayalive -reuse -pidfile /var/run/xinetd.pid
root      1244     1  0 May31 ?        00:00:45 /sbin/apcupsd -f /etc/apcupsd/apcupsd.conf
root      1271     1  0 May31 ?        00:00:00 [nfsd]
root      1272     1  0 May31 ?        00:00:00 [lockd]
root      1273  1272  0 May31 ?        00:00:00 [rpciod]
root      1274     1  0 May31 ?        00:00:00 [nfsd]
root      1275     1  0 May31 ?        00:00:00 [nfsd]
root      1276     1  0 May31 ?        00:00:00 [nfsd]
root      1277     1  0 May31 ?        00:00:00 [nfsd]
root      1278     1  0 May31 ?        00:00:00 [nfsd]
root      1279     1  0 May31 ?        00:00:00 [nfsd]
root      1280     1  0 May31 ?        00:00:00 [nfsd]
root      1292     1  0 May31 ?        00:00:00 rpc.mountd
root      1305  1244  0 May31 ?        00:00:05 /sbin/apcupsd -f /etc/apcupsd/apcupsd.conf
root      1306  1305  0 May31 ?        00:00:00 /sbin/apcupsd -f /etc/apcupsd/apcupsd.conf
root      1656     1  0 May31 ?        00:00:31 httpd2 -f /etc/httpd/conf/httpd2.conf -DAPACHE2 -DHAVE_PERL -DHAVE_PHP4 -DHAVE_SSL -DHAVE_SUEXEC -DHAVE_ACCESS -DHAVE_ACTIONS -DHAVE_ALIAS -DHAVE_ASIS -DHAVE_AUTH_ANON -DHAVE_AUTH_DBM -DHAVE_AUTH_DIGEST -DHAVE_AUTH -DHAVE_AUTOINDEX -DHAVE_BUCKETEER -DHAVE_CACHE -DHAVE_CASE_FILTER_IN -DHAVE_CASE_FILTER -DHAVE_CERN_META -DHAVE_CGID -DHAVE_CGI -DHAVE_CHARSET_LITE -DHAVE_DEFLATE -DHAVE_DIR -DHAVE_DISK_CACHE -DHAVE_ECHO -DHAVE_ENV -DHAVE_EXPIRES -DHAVE_EXT_FILTER -DHAVE_FILE_CACHE -DHAVE_HEADERS -DHAVE_IMAP -DHAVE_INCLUDE -DHAVE_INFO -DHAVE_LOG_CONFIG -DHAVE_LOGIO -DHAVE_MEM_CACHE -DHAVE_MIME_MAGIC -DHAVE_MIME -DHAVE_NEGOTIATION -DHAVE_OPTIONAL_FN_EXPORT -DHAVE_OPTIONAL_FN_IMPORT -DHAVE_OPTIONAL_HOOK_EXPORT -DHAVE_OPTIONAL_HOOK_IMPORT -DHAVE_PROXY_CONNECT -DHAVE_PROXY_FTP -DHAVE_PROXY_HTTP -DHAVE_PROXY -DHAVE_REWRITE -DHAVE_SETENVIF -DHAVE_SPELING -DHAVE_STATUS -DHAVE_UNIQUE_ID -DHAVE_USERDIR -DHAVE_USERTRACK -DHAVE_VHOST_ALIAS
nobody    1708     1  0 May31 ?        00:00:00 [proftpd]
root      1725     1  0 May31 ?        00:00:25 crond
root      1741     1  0 May31 ?        00:00:00 /bin/sh /usr/bin/mysqld_safe --datadir=/var/lib/mysql --pid-file=/var/lib/mysql/fhc-beast.pid
root      1742     1  0 May31 ?        00:00:00 logger -t mysqld_safe
mysql     1770  1741  0 May31 ?        00:00:00 [mysqld]
mysql     1777  1770  0 May31 ?        00:00:03 [mysqld]
mysql     1778  1777  0 May31 ?        00:00:00 [mysqld]
root      1779     1  0 May31 ?        00:00:02 /usr/bin/perl /usr/share/webmin/miniserv.pl /etc/webmin/miniserv.conf
root      1797     1  0 May31 ?        00:00:14 smbd -D
root      1833     1  0 May31 ?        00:00:24 /usr/bin/lisa -c /etc/lisarc
mailman   1874     1  0 May31 ?        00:00:00 [python]
mailman   1875  1874  0 May31 ?        00:00:15 /usr/bin/python /usr/local/mailman/bin/qrunner --runner=ArchRunner:0:1 -s
mailman   1876  1874  0 May31 ?        00:00:15 /usr/bin/python /usr/local/mailman/bin/qrunner --runner=BounceRunner:0:1 -s
mailman   1877  1874  0 May31 ?        00:00:14 /usr/bin/python /usr/local/mailman/bin/qrunner --runner=CommandRunner:0:1 -s
mailman   1878  1874  0 May31 ?        00:00:15 /usr/bin/python /usr/local/mailman/bin/qrunner --runner=IncomingRunner:0:1 -s
mailman   1891  1874  0 May31 ?        00:00:14 /usr/bin/python /usr/local/mailman/bin/qrunner --runner=NewsRunner:0:1 -s
mailman   1892  1874  0 May31 ?        00:00:18 /usr/bin/python /usr/local/mailman/bin/qrunner --runner=OutgoingRunner:0:1 -s
mailman   1893  1874  0 May31 ?        00:00:15 /usr/bin/python /usr/local/mailman/bin/qrunner --runner=VirginRunner:0:1 -s
mailman   1894  1874  0 May31 ?        00:00:01 /usr/bin/python /usr/local/mailman/bin/qrunner --runner=RetryRunner:0:1 -s
root      1965     1  0 May31 vc/1     00:00:00 /sbin/mingetty tty1
root      1966     1  0 May31 vc/2     00:00:00 /sbin/mingetty tty2
root      1967     1  0 May31 vc/3     00:00:00 /sbin/mingetty tty3
root      1968     1  0 May31 vc/4     00:00:00 /sbin/mingetty tty4
root      1969     1  0 May31 vc/5     00:00:00 /sbin/mingetty tty5
root      1970     1  0 May31 vc/6     00:00:00 /sbin/mingetty tty6
root      2218  1725  0 May31 ?        00:00:00 [crond]
jlarsen   2574     1  0 May31 ?        02:22:00 /bin/bash /home/jlarsen/ping_test/pt client2 -d 0 -r 300 -t 2 -tto 60 -e theClaw56@comcast.net
root      3111  1725  0 May31 ?        00:00:00 [crond]
jlarsen   3425     1  0 May31 ?        02:20:11 /bin/bash /home/jlarsen/ping_test/pt client3 -d 0 -r 300 -t 2 -tto 60 -e theClaw56@comcast.net
root      3893  1725  0 May31 ?        00:00:00 [crond]
jlarsen   4197     1  0 May31 ?        02:19:48 /bin/bash /home/jlarsen/ping_test/pt client4 -d 0 -r 300 -t 2 -tto 60 -e theClaw56@comcast.net
root      4643  1725  0 May31 ?        00:00:00 [crond]
jlarsen   4947     1  0 May31 ?        02:21:37 /bin/bash /home/jlarsen/ping_test/pt printer -d 0 -r 300 -t 2 -tto 60 -e theClaw56@comcast.net
root      5395  1725  0 May31 ?        00:00:00 [crond]
jlarsen   5744     1  0 May31 ?        02:17:10 /bin/bash /home/jlarsen/ping_test/pt stakeclerk -d 0 -r 300 -t 2 -tto 60 -e theClaw56@comcast.net
root      7403  1725  0 May31 ?        00:00:00 [crond]
jlarsen   7710     1  0 May31 ?        11:41:14 /bin/bash /home/jlarsen/ping_test/pt 10.249.191.1 -d 0 -r 60 -t 5 -tto 60 -e theClaw56@comcast.net
jlarsen  28026  3111  0 May31 ?        00:00:00 [sendmail]
jlarsen  28031 28026  0 May31 ?        00:00:00 [postdrop]
jlarsen  15316  2218  0 May31 ?        00:00:00 [sendmail]
jlarsen  15320 15316  0 May31 ?        00:00:00 [postdrop]
jlarsen  15327  7403  0 May31 ?        00:00:00 [sendmail]
jlarsen  15331 15327  0 May31 ?        00:00:00 [postdrop]
jlarsen  23098  4643  0 May31 ?        00:00:00 [sendmail]
jlarsen  23099 23098  0 May31 ?        00:00:00 [postdrop]
jlarsen  24271  5395  0 May31 ?        00:00:00 [sendmail]
jlarsen  24272 24271  0 May31 ?        00:00:00 [postdrop]
jlarsen  29229  3893  0 May31 ?        00:00:00 [sendmail]
jlarsen  29233 29229  0 May31 ?        00:00:00 [postdrop]
root     28793  1725  0 Jun01 ?        00:00:15 [crond]
jlarsen  28817     1  0 Jun01 ?        00:08:34 /usr/bin/perl -w /home/jlarsen/ping_test.pl/nashua1 -debug 0
jlarsen  28835 28793  0 Jun01 ?        00:00:00 [sendmail]
jlarsen  28836 28835  0 Jun01 ?        00:00:00 [postdrop]
root     22475  1725  0 Jun08 ?        00:00:14 [crond]
jlarsen  22495 22475  0 Jun08 ?        00:00:00 [sendmail]
jlarsen  22503 22495  0 Jun08 ?        00:00:00 [postdrop]
jlarsen  22512     1  0 Jun08 ?        00:09:15 /usr/bin/perl -w /home/jlarsen/ping_test.pl/server -debug 0
root      7283     1  0 Jun24 ?        00:00:09 [master]
postfix   7289  7283  0 Jun24 ?        00:00:08 [nqmgr]
root     29002  1656  0 Oct01 ?        00:00:00 /usr/bin/perl /usr/sbin/advxsplitlogfile
apache   29158  1656  0 Oct01 ?        00:00:00 [httpd2]
apache   29159  1656  0 Oct01 ?        00:00:00 [httpd2]
apache   29160  1656  0 Oct01 ?        00:00:00 [httpd2]
apache   29161  1656  0 Oct01 ?        00:00:00 [httpd2]
apache   29169  1656  0 Oct01 ?        00:00:00 [httpd2]
apache    4358  1656  0 Oct03 ?        00:00:00 [httpd2]
apache   26934  1656  0 Oct06 ?        00:00:00 [httpd2]
root      2528  1797  0 Oct11 ?        00:00:00 [smbd]
root     15070     1  0 03:00 ?        00:00:00 /sbin/mount.smbfs //stakeclerk/C$ /mnt/stakeclerk/C -o rw username clerk gid 500 password XXXXXXXXXX uid 501 fmask 775 dmask 1777
root     15075     1  0 03:00 ?        00:00:00 /sbin/mount.smbfs //server/C /mnt/server/C -o rw username administrator gid 500 password XXXXXXXXX uid 501 fmask 775 dmask 1777
root     15078     1  0 03:00 ?        00:00:00 /sbin/mount.smbfs //server/E /mnt/server/E -o rw username administrator gid 500 password XXXXXXXXX uid 501 fmask 775 dmask 1777
root     15081     1  0 03:00 ?        00:00:00 /sbin/mount.smbfs //server/F /mnt/server/F -o rw username administrator gid 500 password XXXXXXXXX uid 501 fmask 775 dmask 1777
root     15084     1  0 03:00 ?        00:00:00 /sbin/mount.smbfs //client2/C /mnt/client2/C -o rw username administrator gid 500 password XXXXXXXXX uid 501 fmask 775 dmask 1777
root     15087     1  0 03:00 ?        00:00:00 /sbin/mount.smbfs //client3/c$ /mnt/client3/C -o rw username administrator gid 500 password XXXXXXXXX uid 501 fmask 775 dmask 1777
root     15090     1  0 03:00 ?        00:00:00 /sbin/mount.smbfs //client4/C /mnt/client4/C -o rw username administrator gid 500 password XXXXXXXXX uid 501 fmask 775 dmask 1777
root     23686     1  0 10:00 ?        00:00:03 /usr/bin/perl -w /usr/sbin/ddclient -daemon 300
postfix  20534  7283  0 18:28 ?        00:00:00 [pickup]
root     25708  1725  0 18:39 ?        00:00:00 [crond]
jlarsen  26045     1  0 18:40 ?        00:00:00 /usr/bin/perl -w /home/jlarsen/ssh_tunnel/screamer/loader -d 19922944 -st 296 -e john@larsen-family.us
jlarsen  26450     1  0 18:41 ?        00:00:00 /usr/bin/perl -w /home/jlarsen/ssh_tunnel/screamer/tunnel -d 19922944 -st 296 -e john@larsen-family.us
jlarsen  26506     1  0 18:41 ?        00:00:00 /usr/bin/ssh -F /home/jlarsen/ssh_tunnel/screamer/tunnel.conf -n tunnel /home/tunnels/ssh_tunnel/fhc-beast/pulse -d 19922944 -st 296 -e john@larsen-family.us
jlarsen  26689 25708  0 18:41 ?        00:00:00 [sendmail]
jlarsen  26690 26689  0 18:41 ?        00:00:00 [postdrop]
jlarsen    689  5744  0 18:55 ?        00:00:00 sleep 299
jlarsen   1085  2574  0 18:56 ?        00:00:00 sleep 299
jlarsen   1433  3425  0 18:57 ?        00:00:00 sleep 299
jlarsen   1759  4197  0 18:58 ?        00:00:00 sleep 299
jlarsen   2078  4947  0 18:59 ?        00:00:00 sleep 298
jlarsen   2225  7710  0 18:59 ?        00:00:00 sleep 59
root      2228  1725  0 19:00 ?        00:00:00 [crond]
jlarsen   2265 22512  0 19:00 ?        00:00:00 /usr/bin/perl -w /home/jlarsen/ping_test.pl/server -debug 0
jlarsen   2303  2265  0 19:00 ?        00:00:00 sh -c /usr/bin/ssh -F /home/jlarsen/ping_test.pl/server.conf -n webpage "mkdir /home/tunnels/ping_test/png" 2>/dev/null
jlarsen   2304  2303  1 19:00 ?        00:00:00 /usr/bin/ssh -F /home/jlarsen/ping_test.pl/server.conf -n webpage mkdir /home/tunnels/ping_test/png
jlarsen   2308     1  0 19:00 ?        00:00:00 /usr/bin/perl -w /home/jlarsen/ssh_tunnel/old-beast/ssh_tunnel.pl
jlarsen   2314 26045  0 19:00 ?        00:00:00 /usr/bin/perl -w /home/jlarsen/ssh_tunnel/screamer/loader -d 19922944 -st 296 -e john@larsen-family.us
jlarsen   2319  2308  0 19:00 ?        00:00:00 /bin/ps -edf
jlarsen   2320  2314  0 19:00 ?        00:00:00 /bin/ps -edf

Current netstat

Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State      
tcp        0      0 fhc-beast:3552          c-24-61-95-57.hsd1.:ssh ESTABLISHED 
tcp        0      0 fhc-beast:3696          c-24-61-95-57.hsd1.:ssh TIME_WAIT   
tcp        0      0 fhc-beast:3691          c-24-61-95-57.hsd1.:ssh TIME_WAIT   
tcp        0      0 fhc-beast:3693          c-24-61-95-57.hsd1.:ssh TIME_WAIT   
tcp        0      0 fhc-beast:3694          c-24-61-95-57.hsd1.:ssh TIME_WAIT   
tcp        0      0 fhc-beast:3692          c-24-61-95-57.hsd1:imap TIME_WAIT   
tcp        0      0 fhc-beast:3695          c-24-61-95-57.hsd1:imap TIME_WAIT   
tcp        0      0 fhc-beast:netbios-ssn   stakeclerk:4191         ESTABLISHED 

crontab file

# DO NOT EDIT THIS FILE - edit the master and reinstall.
# (/tmp/crontab.4465 installed on Tue Jun 19 19:44:42 2007)
# (Cron version -- $Id: crontab.c,v 2.13 1994/01/17 03:20:37 vixie Exp $)
# Send me email when cron jobs have output
MAILTO=theClaw56@comcast.net
#
# Maintain ssh tunnels ----------------------------------------------
0,10,20,30,40,50 * * * * /home/jlarsen/ssh_tunnel/screamer/ssh_tunnel.pl
0,10,22,30,40,50 * * * * /home/jlarsen/ssh_tunnel/old-beast/ssh_tunnel.pl
#
#
# Ping tests
#0,15,30,45 * * * * /home/jlarsen/ping_test/pt larsen-family.us         -r 60 -t 5 -c -tto 60  -e theClaw56@comcast.net
2,17,32,47 * * * * /home/jlarsen/ping_test/pt 10.249.191.1             -r 60 -t 5 -c -tto 60 -e theClaw56@comcast.net
#3,18,33,48 * * * * /home/jlarsen/ping_test/pt 12.135.52.1              -r 60 -t 5 -c -tto 60 -e theClaw56@comcast.net
4,19,29,49 * * * * /home/jlarsen/ping_test.pl/pt.pl nashua1
5,20,35,50 * * * * /home/jlarsen/ping_test.pl/pt.pl server
6,21,36,51 * * * * /home/jlarsen/ping_test/pt client2      -r 300 -t 2 -c -tto 60 -e theClaw56@comcast.net
7,22,37,52 * * * * /home/jlarsen/ping_test/pt client3      -r 300 -t 2 -c -tto 60 -e theClaw56@comcast.net
8,23,38,53 * * * * /home/jlarsen/ping_test/pt client4      -r 300 -t 2 -c -tto 60 -e theClaw56@comcast.net
9,24,39,54 * * * * /home/jlarsen/ping_test/pt printer      -r 300 -t 2 -c -tto 60 -e theClaw56@comcast.net
10,25,40,55 * * * * /home/jlarsen/ping_test/pt stakeclerk  -r 300 -t 2 -c -tto 60 -e theClaw56@comcast.net

loader.conf file

# Filename:  loader.conf
# Description:  This is the configuration file for the loader portion of the 
# ssh_tunnel program.  The contents of this file never change.  This insures
# that the loader will always operate.  It is important not to change the 
# formatting of this file because it is read by the ssh_tunnel and processed 
# using perl which is expecting things to be in certain locations.
#
# loader.conf has two sections:
# 1. Configuration information such as the names of the ssh and sshd
#    hosts, the working directories on each host, and other data as needed.
# 2. The ssh host configuration for the loader program is in this file.
#    That configuration should never change.  It needs to be at the end
#    of the file because ssh uses everything between "Host" entries as
#    configuration.  There is only one Host section in this file.
#
########################################################################
# The following section contains host information 
# SSH_CLIENT      fhc-beast
# SSH_CLIENT_DIR  /home/jlarsen/ssh_tunnel/old-beast
# SSH_SERVER      old-beast
# SSH_SERVER_DIR  /home/tunnels/ssh_tunnel/fhc-beast
#
########################################################################
# The following section is the ssh config file for the loader program.
# IMPORTANT!  The path on the client MUST have the SSH_SERVER name in
# it.  The script uses this name is search strings and it MUST be there.
Host loader
HostName larsen-family.us
Port = 143
UserKnownHostsFile = /home/jlarsen/ssh_tunnel/old-beast/known_hosts
User = tunnels
IdentityFile = /home/jlarsen/ssh_tunnel/old-beast/id_rsa.fhc-beast

tunnel.conf file

# Filename:  tunnel.conf
#
# Description:  This is the configuration file for the tunnel portion of the 
# ssh_tunnel program.  The contents of this file can be changed during program execution.
# It is important not to change the formatting of the file because it is read by the
# tunnel program and processed using awk which is expecting things to be in certain
# locations.
#
# tunnel.conf has three sections:
# 1. Configuration information such as email addresses and thresholds.
# 2. The ssh host configuration for the tunnel.  This consists of two
#    host definitions, tunnel and heartbeat.  The tunnel is the permanent
#    connection and defines port forwarding.  The heartbeat uses one of 
#    the forwarded ports to write and copy heartbeat files between the
#    ssh client and the ssh server.  Changing heartbeats indicate that the
#    tunnel is functioning.
# 3. The webpage configuration section as described below.  This has the
#    ssh host configuration for updating a webpage on a webserver.
#
################################################################################
# The following section contains configuration information
#
# The tunnel is either "enabled" or "disabled" based on the value given
# below.  If disabled, then no processes are running on either the
# client or the server.  A cron job on the client runs ssh_tunnel.pl periodically
# to check if tunnel.conf has changed on the server.  If a change is detected
# then the new tunnel.conf file is transfered over.  If the tunnel state
# becomes "enabled" then the tunnel is activated.
# TUNNEL_STATE disabled
#
# The email addresses below receive diagnostic messages.  Separate
# multiple addresses with commas and no white space.  The word "none"
# turns off email sending and is the default.  The same email address
# is used by cron, loader, tunnel, and pulse.
# EMAIL_ADDRESS     john@larsen-family.us
#
# The threshold defined below is how many port failures are required
# before an email is sent.  Set this to "none" to turn this off.  If
# the ssh_server's ssh port isn't accessible then the loader kills 
# the tunnel.  This periodic email serves as a reminder that the tunnel
# is down.
# EMAIL_THRESHOLD   100
#
# The loader, tunnel, and pulse programs all have the same sleep value.
# The sleep time can be changed here.  It should be in the range of
# 60 to 3600 seconds.  Shorter sleep times increase system loading.
# The sleep time must be less than half the crontab time for ssh_tunnel.pl.
# SLEEP_TIME        296
#
#
################################################################################
# The following section is the ssh config file for the tunnel program.
# IMPORTANT!  The path on the client MUST have the SSH_SERVER name in
# it.  The script uses this name is search strings and it MUST be there.
#
# Important info about port numbers used in the "ssh_tunnel" and "heartbeat"
# sections below.  The "heartbeat" Port number must be the same as the last
# two port numbers in the "ssh_tunnel" section.  In this example 50022 is
# used.  The port number used must be unused by anything else on the two
# machines.  If you have multiple tunnels connecting to a single ssh_server
# be sure to use different port numbers.  
#
# Another requirement is that the ssh_server must be configured to
# allow remote port forwarding.  This is normally off by default in the 
# ssh_server's sshd_config file.  Set "GatewayPorts yes" in sshd_config.
#
Host tunnel
HostName larsen-family.us
Port = 143
UserKnownHostsFile = /home/jlarsen/ssh_tunnel/old-beast/known_hosts
User = tunnels
IdentityFile = /home/jlarsen/ssh_tunnel/old-beast/id_rsa.fhc-beast
Compression = yes
RemoteForward = 13025 fhc-beast:25
RemoteForward = 13080 fhc-beast:80
RemoteForward = 13143 fhc-beast:143
RemoteForward = 13905 server:5905
RemoteForward = 13902 client2:5902
RemoteForward = 13903 client3:5903
RemoteForward = 13904 client4:5904
RemoteForward = 13907 stakeclerk:5907
RemoteForward = 13022 localhost:22
LocalForward = 13022 localhost:22

################################################################################
Host heartbeat
HostName localhost
Port = 13022
UserKnownHostsFile = /home/jlarsen/ssh_tunnel/old-beast/known_hosts
User = tunnels
IdentityFile = /home/jlarsen/ssh_tunnel/old-beast/id_rsa.fhc-beast

################################################################################
Host pulse
HostName localhost
Port = 13022
UserKnownHostsFile = /home/tunnels/ssh_tunnel/fhc-beast/known_hosts
User = jlarsen
IdentityFile = /home/tunnels/ssh_tunnel/fhc-beast/id_rsa.fhc-beast

################################################################################
# Note: This section must be last in tunnel.conf.
# A webpage will be copied to the directory set by WEBSERVER_DIR below.  The
# default value "none" turns this feature off.  Change "none" to the directory
# path where the webpage should be copied.  The "webpage" host information 
# below must also be changed to valid values to make this work.
# WEBSERVER_DIR     /home/tunnels/ssh_tunnel_html
#
# The filename of the webpage copied to the webserver defaults to
# SSH_CLIENT_to_SSH_SERVER.html.  To choose a different name replace the
# word "default" on the line below with the desired name.
# WEBPAGE_FILENAME  default
#
# A copy of the webpage can be put in the directory define by WEBPAGE_LOCAL_DIR.
# Change "none" to a valid directory to enable this feature.
# WEBPAGE_LOCAL_DIR  /var/www/html/ssh_tunnel
#
# The webpage update rate defaults to once per sleep time. Change the value below
# to select a different rate.  The update rate is the number of times through the
# loader while loop before updating the webpage.  This value is ignored when events
# occur such as the tunnel going down or during startup.  The webpage is updated
# for all non normal runtime events.
# WEBPAGE_UPDATE_RATE   1
#
Host webpage
HostName larsen-family.us
Port = 22
UserKnownHostsFile = /home/jlarsen/ssh_tunnel/screamer/known_hosts.webpage
User = tunnels
IdentityFile = /home/jlarsen/ssh_tunnel/screamer/id_rsa.fhc-beast