delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/01/08/16:56:02

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Wed, 8 Jan 2003 14:54:21 -0500
From: "Pierre A. Humblet" <pierre DOT humblet AT ieee DOT org>
To: cygwin AT cygwin DOT com
Subject: Re: Bash PATH via ssh
Message-ID: <20030108195420.GA559081@WORLDNET>
References: <262990-22003138191816494 AT M2W090 DOT mail2web DOT com> <006a01c2b750$d70c7620$9700a8c0 AT michael>
Mime-Version: 1.0
In-Reply-To: <006a01c2b750$d70c7620$9700a8c0@michael>
User-Agent: Mutt/1.4i

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019