This is the mail archive of the
cygwin
mailing list for the Cygwin project.
ssh-add fails to find .ssh directory/key when home directory mounted via fstab
- From: "" <cygwin at kosowsky dot org>
- To: cygwin at cygwin dot com
- Date: Wed, 28 Aug 2019 12:02:01 -0400
- Subject: ssh-add fails to find .ssh directory/key when home directory mounted via fstab
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