set umask for sftp Create a shell file( note .sh extension) with your favourite editor(vi for me)
Add the following lines:
Set the execute permissions
Edit the sshd_config
Add .sh to the end of the Subsystem line(near the bottom of the file):
becomes:
Then restart sftp server $ sudo /etc/init.d/ssh restart
(or possibly kill -HUP the sshd proc) |
Linux >