delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/04/29/13:18:16

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: Tue, 29 Apr 2003 19:17:59 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: ssh doesn't like $HOME
Message-ID: <20030429171759.GO19711@cygbert.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <3EAE9CC1 DOT 6060608 AT imag DOT fr> <20030429154926 DOT GM19711 AT cygbert DOT vinschen DOT de> <200304291649 DOT h3TGnpB5011725 AT beta DOT mvs DOT co DOT il>
Mime-Version: 1.0
In-Reply-To: <200304291649.h3TGnpB5011725@beta.mvs.co.il>
User-Agent: Mutt/1.4.1i

On Tue, Apr 29, 2003 at 07:49:51PM +0300, Ehud Karni wrote:
> On Tue, 29 Apr 2003 17:49:26 +0200, Corinna Vinschen <corinna-cygwin AT cygwin DOT com> wrote:
> > ssh never uses the $HOME value.  It uses the home dir given in the user's
> > /etc/passwd entry.
> 
> - From my experience (without reading the source) this is not exactly
> true. If the /etc/passwd file exists it is used, but if it does not
> exist, the $HOME is used. You can check it by using the -v (debug
> switch) for ssh:

It only uses $HOME when trying to evaluate `~' (tilde) in a path.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

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