delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/09/29/18:14:49

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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
Message-ID: <415B3486.3062063E@dessent.net>
Date: Wed, 29 Sep 2004 15:17:42 -0700
From: Brian Dessent <brian AT dessent DOT net>
Organization: My own little world...
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: SSH Environment
References: <1936 DOT 217 DOT 162 DOT 71 DOT 141 DOT 1096446340 DOT squirrel AT 217 DOT 162 DOT 71 DOT 141> <cjejkn$1of$1 AT sea DOT gmane DOT org>
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com

Andrew DeFaria wrote:

> Why would a home directory be under "Program Files"?!? "Program Files"
> is a directory that contains a space in it so you might try escaping it.
> Well further reading of this thread suggests that OpenSSH uses the home
> directory in /etc/passwd anyway but still are ya gonna put
> /cygdrive/c/Program Files/myApp in that field? I think you'll still have
> a problem with the space.
> 
> I don't think you want a home directory under program files in the first
> place.
> 
> However, one trick that I do to more easily deal with the "Program
> Files" think is:
> 
> $ mount -bsf "/cydrive/c/Program Files" /apps
> 
> Then it's simply /apps/<application>/<etc>. Much easier to deal with,
> shorter and file name completion under bash works well with this.

He doesn't want a "home directory" under \program files.  He's writing
some custom app that will use Cygwin's ssh, and he doesn't want to be
bothered to install an actual valid Cygwin environment, just poach
ssh.exe to do whatever he wants.  For the purposes of the Cygwin
content, this thread ceased being relevant some time ago because this
isn't
"custom-application-developement-consulting-services-mailing-list AT cygwin DOT com"

Brian

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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