delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/02/19/14:22:28

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:from:to:subject:date:message-id:content-type
:content-transfer-encoding:mime-version; q=dns; s=default; b=KGN
yR6JYq8RgyyFkTAv1ZBVX2iDbXMDGMZ7wWELCnTMBUXzKIcTdK0sIQ5YUgNZm/V1
7mafYqaYFoeP+irdqNVAcHvnHbew4WFUe3o7+4QEG4bPlCVRW+OWk3JpXKuvK3LZ
Ly6SHNFeElP/kDMH4mjUDLq1Io3fm12k1vDZnjNo=
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:from:to:subject:date:message-id:content-type
:content-transfer-encoding:mime-version; s=default; bh=yYc6EbaMH
AFfxf25oIAygGukDrU=; b=qzJYY1nWhlzkbPA0OzgqZfxyCMM4WrRyLf11UqEgM
/aeQyVMFKdPdpR5BH0Qbow5oSyShBnJVKFR4YCId8Zt68HBaCLWgF0HkbzkUULVh
MBtseis49Cy5k/W29rTanRvIx52A/Vcz4iUthzQMX4LKkS/5nFbRR80qchZWySfY
QQ=
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-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=Win, Prompt, H*RU:15.20.1643.014, H*r:15.20.1643.014
X-HELO: esa1.ucsf.iphmx.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ucsfonline.onmicrosoft.com; s=selector1-ucsf-edu; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Cub6YI89dI7NCEBW8srV4k1oblXlEgaxODYnn544r3E=; b=bXpmOiVA2yW/aN+OKRCS/Ohcw9BM5/nc6VPl7lOsVJ1EiyKEKuC3jiw259CyjlcLA9/YL5k6yAhySbBEe+MTVbPMB7EjOKFJFVPoyIJE2quIRKHhq+vu89C2ea0m3RiKIQQ21qNmxBMvzyEF84UKK8MiaUD5JnJpKOKMyFkxP98=
From: "Boylan, Ross" <Ross DOT Boylan AT ucsf DOT edu>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: ssh confused about home directory?
Date: Tue, 19 Feb 2019 19:15:47 +0000
Message-ID: <BYAPR05MB573676B0D2BDCB42E8514BC4877C0@BYAPR05MB5736.namprd05.prod.outlook.com>
authentication-results: spf=none (sender IP is ) smtp.mailfrom=Ross DOT Boylan AT ucsf DOT edu;
received-spf: None (protection.outlook.com: ucsf.edu does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id x1JJMQd4010033

I recently installed cygwin on Win 10, both 64 bit.
When I run ssh in a cygwin shell it complains
             Could not create directory '/home/rdboylan/.ssh'.
The /home directory is empty--that is, it has no rdboylan subdirectory.
My home directory appears to be /cygdrive/c/Users/rdboylan; that is the value of $HOME and where I end up when I do cd.
As far as I can tell from the docs, having c:/Users/rdboylan as home is fine, but ssh doesn't seem to be respecting it.

/etc/nsswitch.conf has no uncommented lines and /etc/passwd does not exist (both being ways to define the home directory on cygwin according to the internet).

In a Windows Command Prompt %HOME% is C:\Users\rdboylan

What's the most appropriate way to fix this problem?

Thanks.
Ross

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