On Fri, 10 Jan 2003, Andrew Mathews wrote:
> Net Llama! wrote:
> > On Fri, 10 Jan 2003, Andrew Mathews wrote:
> >
> >
> >>Net Llama! wrote:
> >>
> >>>I'm trying to setup rsync over ssh without giving the user a shell
> >>>account.  Unfortunately, setting the user's shell to /bin/false prevents
> >>>the rsync from running, as it fails with this error:
> >>>rsync: connection unexpectedly closed (0 bytes read so far)
> >>>rsync error: error in rsync protocol data stream (code 12)
> >>>
> >>>Does anyone have any suggestions?
> >>>
> >>
> >>/sbin/nologin?
> >
> >
> > protocol version mismatch - is your shell clean?
> > (see the rsync man page for an explanation)
> >
> >
> > any other ideas?
> >
>
>  From the rsync man page:
> You can also specify an alternative to rsh, either by using the -e
> command line option, or by setting the RSYNC_RSH environment variable.
> One common substitute is to use ssh, which  offers  a  high  degree  of
> security.
> [....]
> RSYNC_RSH
> The RSYNC_RSH environment variable allows you  to  override  the
> default  shell used as the transport for rsync. This can be used
> instead of the -e option.
> Have you tried this?

I think so, but i don'[ understand what its asking me to do.  I've set
RSYNC_RSH=ssh
but that's prolly not right. Would i set it to /sbin/nologin ?

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Lonni J Friedman                                [EMAIL PROTECTED]
Linux Step-by-step & TyGeMo                  http://netllama.ipfox.com
_______________________________________________
Linux-users mailing list
[EMAIL PROTECTED]
Unsubscribe/Suspend/Etc -> http://www.linux-sxs.org/mailman/listinfo/linux-users

Reply via email to