ssh-add fails to find .ssh directory/key when home directory mounted via fstab

cygwin@kosowsky.org cygwin@kosowsky.org
Wed Aug 28 16:03:00 GMT 2019


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



More information about the Cygwin mailing list