delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/09/15/15:37:59

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:date:message-id:subject:from:to
:content-type; q=dns; s=default; b=jTLro2H7jsnEBVbhiMATfYlPGYtjz
TInk19yUZz3IAT8m6MXqXxBzLf0It68cj+0iw2LKNSsQwE9Yagfd5qK7SNJUgzc4
YOOYy2bOVBVE65d4zmKc3XJ++jNYc4h5EaTHZ5UYY7e0CLX6XLWQFQgm/t0ixsjO
+6gPmIXa5KKWNo=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:date:message-id:subject:from:to
:content-type; s=default; bh=7LNrUe3u8oFQgrCfN6+HJoH+53U=; b=GWY
GeRtjF0Zd6J2KkeVBidabpo80cvtwjBOFdMngsrS+A6oE6Z9R53iL/mss3KH9JZ7
i6TNyiiCsry5eiIDuOwEpM289KubTvaxqRNjrU7ChgrkX8nqZBoBGYdhj9NM002Z
b+3hRseuYUId1n2Bx4Ung/928euSvVRa/jbqmffU=
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=4.0 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,FROM_STARTS_WITH_NUMS,NO_RELAYS autolearn=no version=3.3.2
X-HELO: mail-lb0-f172.google.com
MIME-Version: 1.0
X-Received: by 10.152.170.166 with SMTP id an6mr21473831lac.20.1379273859850; Sun, 15 Sep 2013 12:37:39 -0700 (PDT)
Date: Sun, 15 Sep 2013 14:37:39 -0500
Message-ID: <CAPGcKWv=sHF53Dyuko_dp-gN_nVvPKHqnH+vBD-uBA-Pb1NaSg@mail.gmail.com>
Subject: SSH key directory defaulting to non-Cygwin SSH client location
From: J J <1301mail AT gmail DOT com>
To: cygwin AT cygwin DOT com

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

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
"Administrators:Domain Users".

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