rsync ssh problem...

Wayne Davison wayned at samba.org
Wed Feb 4 16:59:09 GMT 2004


On Wed, Feb 04, 2004 at 03:26:19PM +0000, Paul Simpson wrote:
> [root at drone2 root]# rsync --rsh="ssh -lpaul" clinton::
> paul at clinton's password:
> rsync: server sent "" rather than greeting

It's probably your ssh setup outputting something.  Try this:

#!/bin/sh
out=`ssh -lpaul clinton true`
if [ x"$out" = x ]; then
    echo Yup
else
    echo Nope
    echo $out
fi

That ssh command should output nothing at all.

..wayne..


More information about the rsync mailing list