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 - Could not create directory 'c/.ssh'.

Hi Larry

On 11/05/11 15:45, Larry Hall (Cygwin) wrote:
On 5/11/2011 6:44 AM, Tim Allen wrote:

I have happily used Cygwin ssh from "DOS" command prompt for many
years but
on upgrading to V1.7 get this error message. Further info:

OS: Vista

/etc/passwd line:

The interesting thing is that if I open up a second command prompt and
run an
arbitrary cygwin command (like "less filename"). ssh successfully finds
/home/tda/.ssh (but only for so long as that second command is running).

I suspect this is something to do with the changes to mounts, but so
far I've
been unable to find a fix.

I think we need more information about what you're actually doing and what your configuration is. Please review the problem reporting guidelines found here:

Problem reports:

OK. Steps to reproduce:

1. Open command prompt, type:
c:\ ssh fleet
Could not create directory 'c/.ssh'.
The authenticity of host 'fleet (' can't be established.
RSA key fingerprint is 17:33:a7:32:cd:e1:04:ed:d7:3b:dc:11:c6:da:3c:42.
Are you sure you want to continue connecting (yes/no)?

2. Open second command prompt, type:
c:\ less main.c

3. Leave less running, return to first prompt and repeat login attempt:
c:\ ssh fleet
Linux fleet 2.6.32-5-686 #1 SMP Tue Mar 8 21:36:00 UTC 2011 i686
(login OK)

cygcheck.out is output of cygcheck -s -v -r with less NOT running. cygcheck1.out is output of cygcheck -s -v -r with less running.

The difference below looks relevant:

Output from c:\cygwin\bin\id.exe
UID: 0(tda)  GID: 0(root)
0(root)      545(Users)

Output from c:\cygwin\bin\id.exe
UID: 1000(tda) GID: 513(None)
513(None)      545(Users)



Attachment: cygcheck.out
Description: Text document

Attachment: cygcheck1.out
Description: Text document

Problem reports:
Unsubscribe info:

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