rsync without a shell

Net Llama! netllama
Mon May 17 11:43:02 PDT 2004


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?

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Lonni J Friedman				netllama at linux-sxs.org
Linux Step-by-step & TyGeMo		     http://netllama.ipfox.com


More information about the Linux-users mailing list