On 2004.08.17 at 19:48:10 +0400, Eugene Doubravsky wrote: > man ssh : > Additionally, ssh reads $HOME/.ssh/environment, and adds lines of the format > ``VARNAME=value'' to the environ- > ment if the file exists and if users are allowed to change their > environment. For more information, see the > PermitUserEnvironment option in sshd_config(5). > > Оно?
Не оно. umask это не environment, она выставляется специальным системным вызовом. Ну или шелловской командой, этот системный вызов вызывающей.