public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* ssh-add fails to find .ssh directory/key when home directory   mounted via fstab
@ 2019-08-28 16:03 cygwin
  0 siblings, 0 replies; only message in thread
From: cygwin @ 2019-08-28 16:03 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-08-28 16:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-28 16:03 ssh-add fails to find .ssh directory/key when home directory mounted via fstab cygwin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).