TunnelTools
TunnelTools is a set of (currently 2) perl scripts to allow access to internet anonymous rsync and CVS pserver servers access from inside a firewall by tunneling over an ssh connection to a machine outside the firewall.
Copyright: (c) 2002-2005, Pfizer, Inc.
Author: Gregory R. Warnes <gregory.r.warnes@pfizer.com>
Date: 2005-07-28
Version: 1.0.0
The content of this package is provided to you under the terms of the GNU General Public License, version 2. See the file COPYING for details.
cvs.pl
This perl script allows anonymous CVS commands to be executed from within a firewall by tunneling the cvs session over ssh to a host outside of the firewall.
- Requirements
-
- An account on a machine outside the firewall that is running ssh
- Any recent version of perl (I'm using 5.6.1)
- Availability of the 'find' command
- Availability of the cvs command
- Ability to perform outbound ssh connections
Configuration::
- Place this perl script in your executable path (for example in $home/bin).
- Make cvs.pl executable. ('chmod +x cvs.pl')
- Modify the first line of this file to contain the full path of your perl executable.
- Modify your shell startup script to provide the environmet
variables CVS_PL_HOST and CVS_PL_USER containg the external
host and user name
- Use
- Whenever you need to perform anonymous CVS, just replace the normal 'cvs' command with 'cvs.pl'
- Example
cvs.pl -d:pserver:anonymous@cvshost.somewhere.com:/cvsroot/project login
rsync.pl
This perl script allows anonymous rsync commands to be executed from within a firewall by tunneling the rsync session over ssh to a host outside of the firewall.
- Requirements
-
- An account on a machine outside the firewall that is running ssh
- Any recent version of perl (I'm using 5.6.1)
- Availability of the rsync command
- Ability to perform outbound ssh connections
Configuration::
- Place this perl script in your executable path (for example in $home/bin).
- Make rsync.pl executable. ('chmod +x rsync.pl')
- Modify the first line of this file to contain the full path of your perl executable.
- Modify your shell startup script to provide the environmet
variables RSYNC_PL_HOST and RSYNC_PL_USER containg the external
host and user name
- Use
- Whenever you need to perform anonymous RSYNC, just replace the normal 'rsync' command with 'rsync.pl'
- Example
rsync.pl -aC rsync.project.org::file-dir $home/archive/file-dir
