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: List-Subscribe: List-Archive: List-Post: List-Help: , 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: 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 Content-Type: text/plain; charset=ISO-8859-1 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