This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Why isn't ssh reading ~/.ssh/id_rsa?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]