delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/05/04/23:06:40

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: <CAGHJv4fbZ-vMdB=nsA7m3VriXm165ZsQXN3XVZ-Zh9c2HsvZ0A@mail.gmail.com>
Subject: OpenSSH using root for the .ssh directory?
From: Chris Sutcliffe <ir0nh34d AT gmail DOT com>
To: The Cygwin Mailing List <cygwin AT cygwin DOT com>
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

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

- Raw text -


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