This is the mail archive of the
mailing list for the Cygwin project.
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>
- Date: Fri, 4 May 2012 23:06:00 -0400
- Subject: OpenSSH using root for the .ssh directory?
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
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
Any ideas why ssh is looking in the root directory?
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple