I was previously using ftp and a virtual user internally but this server is being repurposed for sftp transfers from the web. Pam_unix(sshd:session): session closed for user testuser Pam_unix(sshd:session): session opened for user testuser by (uid=0) : permission deniedĪccepted password for testuser from 192.168.1.68 port 54054 ssh2 When I connect with my windows filezilla client I get:Įrror: Unable to open. I have the directories /sftp and /sftp/testusers with drwxr-xr-x root root permissions and the directory /sftp/testusers/incoming directory with drwxr-xr-x testuser sftpusers permissions. The user I am testing is testuser a member of the sftpusers group and is added in the AllowedUsers list in sshd_config. The problem I'm running into is trying to configure chroot to jail the user to their home directories. I am new to learning linux but am very happy with it and enjoy it much more than windows! I am trying to configure an sftp site for my company and have gotten so far as configuring vsftp, generating and installing the cert (temporary until we purchase one), and connecting via an sftp client (filezilla). Hello, this is my first post on CentOS forums.