Bash PATH via ssh

Pierre A. Humblet pierre.humblet@ieee.org
Mon Jan 13 03:23:00 GMT 2003


On Wed, Jan 08, 2003 at 02:02:06PM -0600, Michael Hipp wrote:
> Thanks. I now have ensured that ~/.profile, ~./bash_profile, ~/.bash_login,
> /etc/profile all contain the lines:
> 
> PATH="/usr/local/bin:/usr/bin:/bin:$PATH"
> export PATH
> 
> But still when I do ssh 192.168.0.150 'echo $PATH' it returns only the
> windows path items. What am I missing here?
> 
> Any help appreciated.

The Cygwin sshd passes the PATH that exists in the system environment.
Edit it by right clicking My Computer, etc..

Pierre



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list