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:

BASH_ENV=/export/home/greg/.bashrc

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
restarted.

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

.