Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 Message-Id: <6.2.0.14.0.20041228222432.04baea00@pop.prospeed.net> Date: Tue, 28 Dec 2004 22:34:35 -0500 To: "Ben Wing" , "'Michael Sperber'" From: Larry Hall Subject: Re: Ssh ignores $HOME Cc: "'Stephen J. Turnbull'" , , In-Reply-To: <00e801c4ed55$f82628f0$220110ac@neeeeeee2> References: <00e801c4ed55$f82628f0$220110ac AT neeeeeee2> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" 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. > >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/