rsync ssh problem...

Wayne Davison wayned at
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:

out=`ssh -lpaul clinton true`
if [ x"$out" = x ]; then
    echo Yup
    echo Nope
    echo $out

That ssh command should output nothing at all.


More information about the rsync mailing list