path environment variables and ssh

James Walker kagi at jwwalker.com
Thu May 8 11:33:35 CDT 2008


Ted Pavlic wrote:
> OH, and don't forget to make sure your /etc/ssh/sshd_config has the line:
> 
> PermitUserEnvironment yes
> 
> Otherwise I don't think that .ssh/environment will get set. Your system 
> administrator should be able to set that configuration flag for you (it 
> doesn't seem like much of a security "hole").

There is no /etc/ssh/sshd_config.  There is /etc/sshd_config and 
/private/etc/sshd_config, both of which have #PermitUserEnvironment no. 
  Any idea which of these should be changed?


More information about the Mercurial mailing list