GridFTP: Quickstart Guide for GridFTP using SSH security

Installing GridFTP:

wget
http://www-unix.globus.org/ftppub/gt5/5.0/5.0.0/installers/src/gt5.0.0-all-source-installer.tar.gz
tar xfz gt5.0.0-all-source-installer.tar.gz
cd gt5.0.0-all-source-installer
./configure --prefix=/path/to/install/to
make gridftp install
/*wait 10-20 minutes*/

Configuring GridFTP server:

% /path/to/install/to/setup/globus/setup-globus-gridftp-sshftp -server

In the absence of root access,

% /path/to/install/to/setup/globus/setup-globus-gridftp-sshftp -server -nonroot

The above command creates a file named 'sshftp' in '/etc/grid-security' (if run as root) or in '$HOME/.globus' (if run as nonroot). The default contents of the 'sshftp' file is shown below. The users can add commandline options and customize the GridFTP server by editing this file.

	export GLOBUS_LOCATION=/path/to/install/to
	. $GLOBUS_LOCATION/etc/globus-user-env.sh

	#export GLOBUS_TCP_PORT_RANGE=50000,50100

	$GLOBUS_LOCATION/sbin/globus-gridftp-server -ssh
	# -data-interface 

Note: There is no need to explicitly start the server.

Configuring GridFTP client (globus-url-copy):

% /path/to/install/to/setup/globus/setup-globus-gridftp-sshftp

Performing Transfers:

% export GLOBUS_LOCATION=/path/to/install/to
% . $GLOBUS_LOCATION/etc/globus-user-env.sh
% globus-url-copy -v file:/etc/group sshftp://127.0.0.1/tmp/group 
% globus-url-copy -list sshftp://127.0.0.1/tmp/