delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/08/28/12:02:57

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:content-type
:content-transfer-encoding:message-id:date:to:subject:from; q=
dns; s=default; b=jhwSTVcor56qXohlACzwZv2OfMYDiurSaWysinF4ElUErN
6X2TBdJi+kkEZh7dT3I/azsv9TaB8cVRq9/F9zP88XNjWQ4e+ST4Sfkiz327HlaA
0WAJ88VlUu/mSGSSyEUDtOTd3PI8t5E6P8kPLwB7ZRrxU+M12NeIAtFPJY+Vw=
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:content-type
:content-transfer-encoding:message-id:date:to:subject:from; s=
default; bh=S3Y+1FaTLzd6qpYHzRxqozD/cZA=; b=Js3kGIFdKqbE2po1WEW3
e97FtfRq7jDqRuCF3ensxyCRyBAPH+V1YiIfaHIcvpXCGnnjNscYhgdfJqaliy8O
QN7CHVIBNM+vC5b11cCFVQr3chKRXqGMKEiLehFpMhq7j5Tf89JTiuGTBGqWLs5a
EN1JhbKJB2dt/rsQoLH+onw=
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-Spam-SWARE-Status: No, score=-1.2 required=5.0 tests=BAYES_00,FROM_BLANK_NAME,RCVD_IN_DNSWL_NONE autolearn=no version=3.3.1 spammy=desktop, Desktop, myname, 700
X-HELO: p3plsmtpa09-01.prod.phx3.secureserver.net
X-Sender: inbox AT kosowsky DOT org
MIME-Version: 1.0
Message-ID: <23910.42361.640427.301075@consult.pretender>
Date: Wed, 28 Aug 2019 12:02:01 -0400
To: cygwin AT cygwin DOT com
Subject: ssh-add fails to find .ssh directory/key when home directory mounted via fstab
From: "" <cygwin AT kosowsky DOT org>
X-IsSubscribed: yes

When I use an fstab.d file to mount my home directory at an
alternative point, everything seems to work (so far) except for
ssh-add that returns with exit code 2 (error) seemingly because it
can't find the .ssh folder and associated key.

Note that the perms of the .ssh folder and contained keys are 700 and
600 respectively.

Note ssh-add  works fine when my home directory is in the normal /home/<myname>>
place.

Note my fstab.d file entry looks like:
     C:/Users/<myname>/Desktop/data/<myname> /home/<myname> ntfs binary 0 0

Is ssh-add failing because of a security issue? because it can't find
the mounted home directory .ssh file?

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