Hey Dan,
openssh changed something in the newer releases that breaks 4.2.1. You
need these updates on the server machine:
https://bugzilla.mcs.anl.gov/globus/show_bug.cgi?id=6601
Mike
On 2/2/2010 2:07 PM, Dan Gunter wrote:
Hi,
I am trying to run sshftp using gridftp 4.2.1 using instructions from esnet's
pages: http://fasterdata.es.net/gridftp.html. (I happen to be running this on
emulab), but am getting no love.
Any ideas as to what I am doing wrong would be appreciated. I can ssh and scp
between the two nodes.
Thanks,
-Dan
-- server --
node2# $GLOBUS_LOCATION/setup/globus/setup-globus-gridftp-sshftp -server
Successfully created /etc/grid-security/sshftp
node2# cat /etc/grid-security/sshftp
#!/bin/sh
#
# Copyright 1999-2006 University of Chicago
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
export GLOBUS_LOCATION=/usr/local/globus-4.2.0
. $GLOBUS_LOCATION/etc/globus-user-env.sh
#export GLOBUS_TCP_PORT_RANGE=50000,50100
$GLOBUS_LOCATION/sbin/globus-gridftp-server -ssh
# -data-interface<interface to force data connections>
-- client--
node1$ $GLOBUS_LOCATION/setup/globus/setup-globus-gridftp-sshftp
##############################################################
##############################################################
Creating client support scripts for GridFTP over ssh. This will allow
GridFTP clients from this installation to access sshftp:// urls.
You will still need to run the following command as 'root' to enable
this machine to *accept* sshftp connections. This will create the
file /etc/grid-security/sshftp.
$GLOBUS_LOCATION/setup/globus/setup-globus-gridftp-sshftp -server
If root access is not available, the option -nonroot may be added
to enable connections as your user only. This will create the file
$HOME/.globus/sshftp.
$GLOBUS_LOCATION/setup/globus/setup-globus-gridftp-sshftp -server -nonroot
##############################################################
##############################################################
Successfully created /usr/local/globus-4.2.0/libexec/gridftp-ssh
node1$ globus-url-copy -vb -dbg sshftp://node2/etc/group x
Source: sshftp://node2/etc/
Dest: file:///users/dang/
group -> x
debug: starting to get sshftp://node2/etc/group
debug: connecting to sshftp://node2/etc/group
^C 0 bytes 0.00 MB/sec avg 0.00 MB/sec inst
Cancelling copy...
debug: aborting current operation
debug: data callback, error globus_ftp_client: the operation was aborted,
buffer 0xb7fa0008, length 0, offset=0, eof=true
debug: operation complete
Killed by signal 2.
-Dan