X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-4.6 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org MIME-Version: 1.0 Date: Fri, 4 May 2012 23:06:00 -0400 Message-ID: Subject: OpenSSH using root for the .ssh directory? From: Chris Sutcliffe To: The Cygwin Mailing List Content-Type: text/plain; charset=ISO-8859-1 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 I've recently installed the latest Cygwin packages (as of 05/04/2012) to a Windows 7 machine and when using ssh I couldn't figure out why it couldn't find my private key in ~/.ssh/. Executing ssh with -vvv I see: debug1: Trying private key: /.ssh/id_rsa debug3: no such identity: /.ssh/id_rsa debug1: Trying private key: /.ssh/id_dsa debug3: no such identity: /.ssh/id_dsa debug1: Trying private key: /.ssh/id_ecdsa debug3: no such identity: /.ssh/id_ecdsa I'm at a loss as to why it's looking in the root directory. Sure enough moving my private key there worked, but that's a security hole. Checking my system for an errant HOME value, all seems to be inline: $ echo $HOME /home/csutclif Any ideas why ssh is looking in the root directory? Thank you, Chris -- Chris Sutcliffe http://emergedesktop.org http://www.google.com/profiles/ir0nh34d -- 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