ssh doesn't like $HOME

Corinna Vinschen corinna-cygwin@cygwin.com
Tue Apr 29 19:57:00 GMT 2003


On Tue, Apr 29, 2003 at 07:49:51PM +0300, Ehud Karni wrote:
> On Tue, 29 Apr 2003 17:49:26 +0200, Corinna Vinschen <corinna-cygwin@cygwin.com> wrote:
> > ssh never uses the $HOME value.  It uses the home dir given in the user's
> > /etc/passwd entry.
> 
> - From my experience (without reading the source) this is not exactly
> true. If the /etc/passwd file exists it is used, but if it does not
> exist, the $HOME is used. You can check it by using the -v (debug
> switch) for ssh:

It only uses $HOME when trying to evaluate `~' (tilde) in a path.

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
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list