New answers tagged chroot
I think I've got it! I guess sometimes the system needs to change to an user that is inside root group and needs the libs (maybe system or nobody?) and thus lib64 and usr/lib64 really need at least 050 permissions. My final script to set permissions is this (tested and working): #Create vars u=jailuser g=users home=/home/$u jail=$home/jail #Set normal ...
I got it! Following the directions on this site: http://sysadmin.circularvale.com/server-config/rsa-authentication-with-chrooted-sftp-authorized_keys-location/ As root, I created a separate folder in: /usr/local/share/keys/globocorp/.ssh/ This folder is owned by root, permissions set to "755" authorized_keys file is in this folder, and owned by the ...
debug1: Could not open authorized keys '/sftp/globocorp/sftpdirectory/.ssh/authorized_keys': Permission denied Check that the user with UID/GID 559/506 has at least traverse (execute) permissions for all of the directories in the path /sftp/globocorp/sftpdirectory/. If they don't then add it.
Top 50 recent answers are included