Unable to set umask with internal-sftp on the system
Issue
- Unable to set umask with internal-sftp on the system, configuration in /etc/ssh/sshd_config:
Match Group sftpusers
ChrootDirectory <directory_path>
AllowTcpForwarding no
ForceCommand internal-sftp -u <umask>
X11Forwarding no
Environment
- Red Hat Enterprise Linux 6
- openssh-5.3p1-94.el6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.