On Wed, Nov 18, 2015 at 12:43 AM, Елизавета Остолоповa
<1ady_ostolop...@mail.ru> wrote:
> About my previous email:
>
> I guess the problem is that scp does not automatically select the user's
> home directory. I have to manually specify it.
> scp document ap...@example.com:homedir/.
> This works.
> But this does not work:
> scp document ap...@example.com:.
> Normally this should work. So my question is how can I have scp to choose
> the user's home directory automatically?
> I tried to change the user home dir both in
> /etc/passwd
> and in
> /usr/chroot/etc/passwd
> Neither did not work.

I published some tools to set these up some time ago, including an
enhanced "mkchroot.sh" tool and and a "mkchroot-passwd.sh" tool for
just this sort of setup at https://github.com/nkadel/rssh-chroot-tools

If anyone wants to take on real maintenance for rssh, I'd love to see
those tools lintegrated.

------------------------------------------------------------------------------
_______________________________________________
rssh-discuss mailing list
rssh-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rssh-discuss

Reply via email to