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 of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
