Erralt

Make SFTP and umask working

Posted in Administration, LF, Linux by erralt on 5 Mai 2010

In your file /etc/ssh/sshd_config use this line for SFTP working with custom umask :

Subsystem sftp /bin/sh -c 'umask 0002; exec /usr/lib/openssh/sftp-server'