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.
Michael

----- Original Message ----- 
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, January 08, 2003 1:18 PM
Subject: RE: Bash PATH via ssh


I believe it's correct to assume that the invocation
of bash via ssh is a login shell, not an interactive 
shell.  Cygwin puts its path additions in /etc/profile.
The corallary for a user would be ~/.profile, ~/.bash_profile
or ~/.bash_login as the INVOCATION section of the bash man page
suggests.


Larry



--
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/

Reply via email to