delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/02/22/12:19:46

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=0.9 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
From: Adam Dinwoodie <Adam DOT Dinwoodie AT metaswitch DOT com>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: RE: Why isn't ssh reading ~/.ssh/id_rsa?
Date: Wed, 22 Feb 2012 17:16:50 +0000
Deferred-Delivery: Wed, 22 Feb 2012 17:16:00 +0000
Message-ID: <CE9C056E12502146A72FD81290379E9A2C4FDB59@ENFIRHMBX1.datcon.co.uk>
References: <049C1BB976511B43B81960B92217A8D6CD35A417DB AT MSGCMSV21048 DOT ent DOT wfb DOT bank DOT corp>
In-Reply-To: <049C1BB976511B43B81960B92217A8D6CD35A417DB@MSGCMSV21048.ent.wfb.bank.corp>
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id q1MHJeT4027151

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.

-- 
Adam Dinwoodie
Software Engineer, Carrier Systems Division
Metaswitch Networks

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


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019