Re: openssh and umask

Okay, I'm having a difficult time getting the ~HOME/.ssh/environment
file set up properly. I have created the environment file in the
location above and have the following line in the file:


In .bashrc I have set umask to 002. (line that simply says umask 002).
However both scp and sftp continue to use 022. I doublechecked that
sshd_config has PermitUserEnvironment yes and that sshd has been

If you could point out what I'm doing wrong I'd appreciate it. Thanks
in advance!!