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: SSH key directory defaulting to non-Cygwin SSH client location


On Sun, Sep 15, 2013 at 02:37:39PM -0500, J J wrote:
>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:
>/home/jd2013 pwd
>/home/jd2013
>
>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

There is no way that Cygwin ssh-keygen would display a MS-DOS path.
It's pretty obvious that you're running the "another ssh client"
version.

cgf

--
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]