path environment variables and ssh

James Walker kagi at jwwalker.com
Thu May 8 22:31:08 CDT 2008


Ted Pavlic wrote:
>>> 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?
> 
> NOTE: This comment seems to imply that "PermitUserEnvironment" is 
> probably on by DEFAULT in your sshd. So, things may work without 
> tweaking your sshd_config.
> 
> (remember that this environment stuff applies to the REMOTE machine, not 
> the local machine)

Thanks for all your help!  I have modified /etc/sshd_config and 
~/.ssh/environment on the remote machine, and now I no longer need to 
set the remote command in the local .hgrc.


More information about the Mercurial mailing list