X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-3.3 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_HI,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org X-DKIM: Sendmail DKIM Filter v2.8.4 mxdcmx02e.wellsfargo.com q1MKNRMa031211 From: To: Date: Wed, 22 Feb 2012 14:23:15 -0600 Subject: RE: Why isn't ssh reading ~/.ssh/id_rsa? Message-ID: <049C1BB976511B43B81960B92217A8D6CD35A41FA2@MSGCMSV21048.ent.wfb.bank.corp> References: <049C1BB976511B43B81960B92217A8D6CD35A417DB AT MSGCMSV21048 DOT ent DOT wfb DOT bank DOT corp> Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id q1MKO1gE009579 Jackpot. Thanks a lot. 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 -- 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