This is the mail archive of the cygwin@cygwin.com 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 problem with $HOME


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/


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