X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.0 required=5.0	tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW
X-Spam-Check-By: sourceware.org
Received-SPF: pass (google.com: domain of eboyd53sf@gmail.com designates 10.52.70.165 as permitted sender) client-ip=10.52.70.165;
Authentication-Results: mr.google.com; spf=pass (google.com: domain of eboyd53sf@gmail.com designates 10.52.70.165 as permitted sender) smtp.mail=eboyd53sf@gmail.com; dkim=pass header.i=eboyd53sf@gmail.com
MIME-Version: 1.0
In-Reply-To: <CE9C056E12502146A72FD81290379E9A2C4FDB59@ENFIRHMBX1.datcon.co.uk>
References: <049C1BB976511B43B81960B92217A8D6CD35A417DB@MSGCMSV21048.ent.wfb.bank.corp>	<CE9C056E12502146A72FD81290379E9A2C4FDB59@ENFIRHMBX1.datcon.co.uk>
Date: Wed, 22 Feb 2012 13:19:50 -0500
Message-ID: <CA+sc5mn_1tMyu5Z=H0U628Y5VQSfvcQDjfVwbE6TWwYz=zz70Q@mail.gmail.com>
Subject: Re: Why isn't ssh reading ~/.ssh/id_rsa?
From: Earnie Boyd <earnie@users.sourceforge.net>
To: cygwin@cygwin.com
Content-Type: text/plain; charset=UTF-8
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id q1MIKJ3T000561

On Wed, Feb 22, 2012 at 12:16 PM, Adam Dinwoodie wrote:
> John.E.Gregg wrote:
>> I'm just installed cygwin on a new laptop.  I've been using cygwin ssh
>> for years but am stumped by this new install.  ~/.ssh/id_rsa file is
>> not checked at login.  Instead, /.ssh/id_rsa is checked.
>
> See http://cygwin.com/ml/cygwin/2012-02/msg00629.html.
>
> In short, your /etc/passwd doesn't list your home directory, so ~ doesn't
> always expand as expected. The fix is to edit /etc/passwd by hand and
> specify your home directory explicitly there.

Would simply adding HOME to the environment resolve the issue?

-- 
Earnie
-- https://sites.google.com/site/earnieboyd

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


