public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* $HOME and ssh?
@ 2002-07-18  3:31 luke.kendall
  2002-07-18  4:07 ` Corinna Vinschen
  0 siblings, 1 reply; 2+ messages in thread
From: luke.kendall @ 2002-07-18  3:31 UTC (permalink / raw)
  To: cygwin

All the documentation for ssh says that it uses $HOME/.ssh by default
to find then user's keys etc.  For me, HOME is
/cygdrive/d/home/luke, but ssh *always* complains about being unable to
create the directory /home/luke.

This strongly suggests that ssh is *not* doing a getenv(HOME).

Anyway, it turns out that there was no /home directory under
/cygdrive/d, so I created one, then did a:

	mount d:\\home /home

and things behaved more sensibly.

I don't understand why there was no /home.  Probably related to the
fact that there have been several older Cygwin installs.

luke


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: $HOME and ssh?
  2002-07-18  3:31 $HOME and ssh? luke.kendall
@ 2002-07-18  4:07 ` Corinna Vinschen
  0 siblings, 0 replies; 2+ messages in thread
From: Corinna Vinschen @ 2002-07-18  4:07 UTC (permalink / raw)
  To: cygwin

On Thu, Jul 18, 2002 at 03:20:50PM +1000, luke.kendall@cisra.canon.com.au wrote:
> All the documentation for ssh says that it uses $HOME/.ssh by default
> to find then user's keys etc.  For me, HOME is
> /cygdrive/d/home/luke, but ssh *always* complains about being unable to
> create the directory /home/luke.
> 
> This strongly suggests that ssh is *not* doing a getenv(HOME).

You're right.  In contrast to the man pages, ssh does't use
$HOME but the home directory given in your /etc/passwd entry.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-07-18  8:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-18  3:31 $HOME and ssh? luke.kendall
2002-07-18  4:07 ` Corinna Vinschen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).