Re: chroot directory, and sshd

2016-03-11 Thread Ron Leach
On 10/03/2016 21:41, Sven Hartge wrote: Ron Leach wrote: I haven't been able to find out how to check the permissions on "/", and I'd appreciate a suggestion how to do that # ls -ld / drwxr-xr-x 29 root root 4096 Mar 10 13:07 / Sven, tks. I'd used "ls -lg /" but that didn't list "/". Che

Re: chroot directory, and sshd

2016-03-10 Thread Sven Hartge
Ron Leach wrote: > I note that the auth failure does seem to suggest there is something > wrong with permissions for "/" itself. I haven't been able to find > out how to check the permissions on "/", and I'd appreciate a > suggestion how to do that if - as it seems - that might be what sshd

chroot directory, and sshd

2016-03-10 Thread Ron Leach
List, good evening, AIUI, sshd requires that a chroot directory, and all directories above it, including "/", must be owned by root, and not be writable except by root. '755' permissions. While trying to set up an sftp-only service, and using this stanza in /etc/ssh/sshd_config : Match Gr