delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/06/28/10:10:48

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:in-reply-to:references:from:date
:message-id:subject:to:content-type; q=dns; s=default; b=I9OhLcx
78o1BEouwx67Azd+pNrPDgGzkPQSsSBwJiVsh3S0gJofBxncVIKqOuaz1nZC+yLu
xnCin5JStO3fb3P9w/V56w56vOmsQFzklOOewJ90fzY++is9Vc2gbr3x4CMpkrih
eK+b3GSSG2OKdpSyc5JwhzlQrMw+gxK1qNi0=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:in-reply-to:references:from:date
:message-id:subject:to:content-type; s=default; bh=sNIGpBuD0uR5Q
PfPhdgVL94Tyx4=; b=rQAMMrnjpuRtA6QY7rms5pOCj8mYHxAPse3d33/f+G/rw
BZ5fb6Di2MsfzqshUgrywcbvgsKrxym5euqE7pqPCSkeCOjcj1a9jRiP0grrw53U
kIh9IZySFCTkePSvZt5Z4Gy5MImEqTYq7Qea3bMf1GRJHlNec9dVFxAFA707Vg=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=0.2 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=user's, nsswitch.conf, nsswitchconf, UD:conf
X-HELO: mail-it0-f46.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=wdvzln6GHROdFFxukE2Bqut1iJvxRd4djduy1219kRg=; b=FN1JOa6KTlcq+Zq7HnraEwnaVhehnRo0/Mdz53vgiDLIOupmCbsiFowDO8kLgG7Gyk Yhbpj1XD0rGqV6SpnniurXQsPmsNPhQm8I63R+SDlMFWpgtsAFstrgAWV/T6aE3LfxLe Jk808wWg+m3P4lamgk1DkQ6GpRW48+edL+cpfjg6iHC4BGdACJTBH9LJe+LuDWVSuwDC 8Nld1Xtk6Js9fuJ7E1tSWlpNlOhYl84gyOgJq0UBM2SDDlcQ8uuh77MGH9daaRhyYhhn Lncz7CNfRZyJXhjBRhDdrWhWXOSEOjtgT9toBHHWLosSoaRGkT76UGIaTs37b3VR8qwE lkwA==
X-Gm-Message-State: ALyK8tLPkDZ7c/mhuoSvS2m2FIrGOO6coI1f41fU10e26DkR9PNyt7ct+Cfj8Yqyq2nOtwnoBNFdehD3HxwZcg==
X-Received: by 10.36.53.214 with SMTP id k205mr15681690ita.66.1467123015674; Tue, 28 Jun 2016 07:10:15 -0700 (PDT)
MIME-Version: 1.0
In-Reply-To: <3092e361-480b-8304-475a-f1d36d38efcf@winfirst.com>
References: <CAGHJv4dRtUm=gz=oMgttxR9+QYM_rm_NEbQFnyY30x=GL+VwDw AT mail DOT gmail DOT com> <3092e361-480b-8304-475a-f1d36d38efcf AT winfirst DOT com>
From: Chris Sutcliffe <ir0nh34d AT gmail DOT com>
Date: Tue, 28 Jun 2016 10:10:15 -0400
Message-ID: <CAGHJv4f1GSb43eCYeNqZ1boj0tpNY-3rBpog0B7hrKPNLWTDVQ@mail.gmail.com>
Subject: Re: SSH Home Directory
To: The Cygwin Mailing List <cygwin AT cygwin DOT com>
X-IsSubscribed: yes

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019