Re:
Brought to you by:
xystrus
From: Nico Kadel-G. <nk...@gm...> - 2015-11-18 11:07:12
|
On Wed, Nov 18, 2015 at 12:43 AM, Елизавета Остолоповa <1ad...@ma...> 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...@ex...:homedir/. > This works. > But this does not work: > scp document ap...@ex...:. > 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. |