delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/12/28/22:39:56

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
Reply-To: Cygwin List <cygwin AT cygwin DOT com>
Message-Id: <6.2.0.14.0.20041228222432.04baea00@pop.prospeed.net>
Date: Tue, 28 Dec 2004 22:34:35 -0500
To: "Ben Wing" <ben AT 666 DOT com>,
"'Michael Sperber'" <sperber AT informatik DOT uni-tuebingen DOT de>
From: Larry Hall <lh-no-personal-replies-please AT cygwin DOT com>
Subject: Re: Ssh ignores $HOME
Cc: "'Stephen J. Turnbull'" <stephen AT xemacs DOT org>, <xemacs-review AT xemacs DOT org>,
<cygwin AT cygwin DOT com>
In-Reply-To: <00e801c4ed55$f82628f0$220110ac@neeeeeee2>
References: <y9lfz1qq13x DOT fsf AT sams DOT informatik DOT uni-tuebingen DOT de> <00e801c4ed55$f82628f0$220110ac AT neeeeeee2>
Mime-Version: 1.0

At 10:24 PM 12/28/2004, you wrote:
>I've cc'ed cygwin AT cygwin DOT com because I've apparently identified a problem
>with Cygwin's ssh.
>

<snip>

>The problem is that /home/Ben is the wrong (and nonexistent, until created
>by ssh) directory.  My home directory is /ben.  For some reason, this
>version of ssh is ignoring $HOME (despite its documentation) and arbitrarily
>looking in /home/$USERNAME.  A symlink fixed the problem; but any
>suggestions as to what is going on here?



What in ssh's documentation says that it will *use* $HOME to determine where
your .ssh directory is?  The documentation uses $HOME for notational 
convenience and says that it will *set* HOME in the ssh environment AFAICS.  
Your $HOME directory in a ssh session under Cygwin is determined the same 
way it's determined in a local shell session.  Your home directory is defined 
in /etc/passwd.



--
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
838 Washington Street                   (508) 893-9889 - FAX
Holliston, MA 01746                     


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