SSH Home Directory

Mark Hansen meh@winfirst.com
Tue Jun 28 14:06:00 GMT 2016


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


More information about the Cygwin mailing list

AltStyle によって変換されたページ (->オリジナル) /