Guide to Bulk Data Transfer over a WAN

Workshops
Search
Quick Start Guide for ssh-based GridFTP

The ability to use sshd to provide secure authentication for GridFTP is new in the Globus 4.1.2 development release. You do not need to install all of Globus to use GridFTP.

Here is a 'quick start guide' to install GridFTP with ssh support only (i.e.: no X509 support). Do these steps on both the client and server hosts.

wget http://www-unix.globus.org/ftppub/gt4/4.1.3/installers/src/gt4.1.3-all-source-installer.tar.gz
tar xvfz gt4.1.3-all-source-installer.tar.gz
cd gt4.1.3-all-source-installer
./configure  --prefix /path/to/install   (ignore any java/ant warnings)
make gridftp  install  (and wait a LONG time. Very slow to build)

Then do the following (both client and server hosts):

setenv GLOBUS_LOCATION /path/to/install 
source $GLOBUS_LOCATION/etc/globus-user-env.csh 

On client hosts:

$GLOBUS_LOCATION/setup/globus/setup-globus-gridftp-sshftp 

On server hosts (run as root):

$GLOBUS_LOCATION/setup/globus/setup-globus-gridftp-sshftp -server 

or (non-root option)

$GLOBUS_LOCATION/setup/globus/setup-globus-gridftp-sshftp -server -nonroot 

The GridFTP server is now automatically launched via sshd. Here are some sample commands:

    # directory listing
    globus-url-copy -list sshftp://gridhost.foo.gov/tmp/
    # copy file /etc/group
    globus-url-copy sshftp://gridhost.foo.gov/etc/group file:/tmp/group
    # parallel transfer of file /tmp/mybigdatafile
    globus-url-copy -p 4 sshftp://gridhost.foo.gov/tmp/mybigdatafile file:/tmp/myfile
    # test network throughput
    globus-url-copy -vb -p 4 -tcp-bs 16M sshftp://gridhost.lbl.gov/dev/zero sshftp://myhost.bar.gov/dev/null

More information on configuring and running GridFTP.


© 2007, ESnet