SSH Home Directory
Chris Sutcliffe
ir0nh34d@gmail.com
Tue Jun 28 18:06:00 GMT 2016
On 28 June 2016 at 09:58, Mark Hansen wrote:
> On 6/28/2016 6:38 AM, Chris Sutcliffe wrote:
>> 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.
>
> 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
Thank you!
Cheers,
Chris
--
Chris Sutcliffe
--
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