path environment variables and ssh

James Walker kagi at jwwalker.com
Fri May 9 06:40:08 UTC 2008


James Walker wrote:
> 
> 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.

Maybe I spoke too soon.  The PATH setting in ~/.ssh/environment is 
definitely working, because if I remove it or set PATH to a bogus value, 
the remote hg isn't found.  But if I set PYTHONPATH to a bogus value, it 
doesn't seem to make any difference.  What does this mean, is it 
sometimes unnecessary to set PYTHONPATH?



More information about the Mercurial mailing list