This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: ssh problem with $HOME
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: Gavin Sinclair <gsinclair at soyabean dot com dot au>
- Cc: cygwin at cygwin dot com
- Date: Thu, 4 Sep 2003 12:42:57 -0400 (EDT)
- Subject: Re: ssh problem with $HOME
- References: <819734548.20030904220801@soyabean.com.au>
- Reply-to: cygwin at cygwin dot com
On Thu, 4 Sep 2003, Gavin Sinclair wrote:
> Hi,
>
> When attempting a "cvs update" using over the ssh protocol (well, you
> know what I mean ;), I get the following error:
>
> $ cvs up
> Could not create directory '/home/Gavin Sinclair/.ssh'.
>
>
> That is surprising, because:
>
> $ echo $HOME
> /home/gavin
>
>
> I have read the manpage, /usr/doc/*, googled, and searched the
> archives, but found nothing. The manpage (ssh), in particular, says
> that $HOME/.ssh is where the heart is, so I suspect a Cygwin nuance.
> Of course cvs is involved here, but I doubt it's having any influence.
>
> Does anybody know what might be going on?
>
> Thanks,
> Gavin
It's likely that the ssh daemon uses a different place to compute your
$HOME (usually /etc/passwd). The default /etc/profile will use the
Windows environment variable instead, if it's set. Please make sure your
/etc/profile contains the correct path to your home directory, and that
you don't set your $HOME somewhere where not all apps have access to it
(e.g., your Windows environment).
If that doesn't help, please (re)read the problem reporting guidelines at
<http://cygwin.com/problems.html> before posting.
Igor
--
http://cs.nyu.edu/~pechtcha/
|\ _,,,---,,_ pechtcha@cs.nyu.edu
ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D.
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster." -- Patrick Naughton
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/