This is the mail archive of the
mailing list for the Cygwin project.
SSH key directory defaulting to non-Cygwin SSH client location
- From: J J <1301mail at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Sun, 15 Sep 2013 14:37:39 -0500
- Subject: SSH key directory defaulting to non-Cygwin SSH client location
- Authentication-results: sourceware.org; auth=none
I recently had to reinstall cygwin on my Windows 7 laptop and am now
having trouble getting passwordless ssh to work from my laptop to
remote hosts. I have another ssh client, Reflections, installed, and
Cygwin insists on using that directory for the ssh key. I would like
to use a separate .ssh directory but can't figure out how to work
around this behavior.
Here's my home directory that the shell opens to. This is also in
/etc/passwd of course:
Here's what happens when I try to generate an RSA key file:
/home/jd2013 ssh-keygen -t rsa
Generating public/private rsa key pair.
Enter name for key file: jd2013
C:\Users\jd2013\Documents\Attachmate\Reflection\.ssh\jd2013 already exists.
Overwrite (y/n)? n
I don't know for certain how this was working before I had to
reinstall Cygwin (McAfee had a false positive that bash.exe was a
virus last month), but I would like to avoid having to set my Cygwin
home to the Reflection directory. I tried creating a .ssh subdirectory
in $HOME, but that had no effect. For what it's worth, $HOME is owned
by "jd2013:Domain Users" and the Reflections directory is owned by
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple