This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: SSH Home Directory


On 6/28/2016 6:38 AM, Chris Sutcliffe wrote:
Hi,

I have my $HOME path setup as /cygdrive/c/Users (using Windows 7)
however ssh doesn't seem to honour that.  When I fire up ssh, I get:

Could not create directory '/home/csutclif/.ssh'.

Why is it defaulting to /home?  Is there a way to configure ssh to
point to the $HOME path?  I have a .ssh directory with my private key
in /cygdrive/c/Users/csutlif.

Thanks,

Chris


You need to configure your home directory using the db_home setting in /etc/nsswitch.conf.
See the following section in the Cygwin User's Guide:

https://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-mapping-passwdinfo



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]