public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Odd ssh2 problem
@ 2001-03-14 11:01 Marcus A Martin
  2001-03-14 11:41 ` DJ Delorie
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Marcus A Martin @ 2001-03-14 11:01 UTC (permalink / raw)
  To: Cygwin

When I attempt to log onto another machine ssh2 tries to find my key files
(the ones stored in the .ssh directory) under the / root directory as
reported by cygwin instead of in my home directory. Is there a way to force
ssh to look in my home directory?

Marcus

--------------------------------------------------------------
A program should follow the 'Law of Least Astonishment'.
What is this law?  It is simply that the program should
 always respond to the user in the way that astonishes him least.



--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

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

* Re: Odd ssh2 problem
  2001-03-14 11:01 Odd ssh2 problem Marcus A Martin
@ 2001-03-14 11:41 ` DJ Delorie
  2001-03-14 11:44 ` Michael Erdely
  2001-03-14 11:46 ` CyberZombie
  2 siblings, 0 replies; 9+ messages in thread
From: DJ Delorie @ 2001-03-14 11:41 UTC (permalink / raw)
  To: mmartin; +Cc: cygwin

> When I attempt to log onto another machine ssh2 tries to find my key files
> (the ones stored in the .ssh directory) under the / root directory as
> reported by cygwin instead of in my home directory. Is there a way to force
> ssh to look in my home directory?

Verify that the correct home directory is set in /etc/passwd.  SSH
ignores $HOME.

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

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

* Re: Odd ssh2 problem
  2001-03-14 11:01 Odd ssh2 problem Marcus A Martin
  2001-03-14 11:41 ` DJ Delorie
@ 2001-03-14 11:44 ` Michael Erdely
  2001-03-14 11:46 ` CyberZombie
  2 siblings, 0 replies; 9+ messages in thread
From: Michael Erdely @ 2001-03-14 11:44 UTC (permalink / raw)
  To: cygwin

You have to make sure that the "home directory" field in /etc/password is
filled in correctly.  Read the OpenSSH readme in /usr/doc/Cygwin.

-ME

----- Original Message -----
From: "Marcus A Martin" <mmartin@rbd.com>
To: "Cygwin" <cygwin@cygwin.com>
Sent: Wednesday, March 14, 2001 2:04 PM
Subject: Odd ssh2 problem


> When I attempt to log onto another machine ssh2 tries to find my key files
> (the ones stored in the .ssh directory) under the / root directory as
> reported by cygwin instead of in my home directory. Is there a way to
force
> ssh to look in my home directory?
>
> Marcus
>
> --------------------------------------------------------------
> A program should follow the 'Law of Least Astonishment'.
> What is this law?  It is simply that the program should
>  always respond to the user in the way that astonishes him least.
>
>
>
> --
> Want to unsubscribe from this list?
> Check out: http://cygwin.com/ml/#unsubscribe-simple
>
>


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

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

* Re: Odd ssh2 problem
  2001-03-14 11:01 Odd ssh2 problem Marcus A Martin
  2001-03-14 11:41 ` DJ Delorie
  2001-03-14 11:44 ` Michael Erdely
@ 2001-03-14 11:46 ` CyberZombie
  2001-03-14 12:23   ` Marcus A Martin
  2001-03-14 12:55   ` Corinna Vinschen
  2 siblings, 2 replies; 9+ messages in thread
From: CyberZombie @ 2001-03-14 11:46 UTC (permalink / raw)
  To: Marcus A Martin, Cygwin

I ran into this one awhile ago...I don't see it in
/usr/doc/Cygwin/openssh-2.5.1p2.README.  The problem is that $HOME isn't
being defined.  Go into your passwd file and make sure the home directory is
specified for the user that you're logging in as.

----- Original Message -----
From: "Marcus A Martin" <mmartin@rbd.com>
To: "Cygwin" <cygwin@cygwin.com>
Sent: Wednesday, March 14, 2001 1:04 PM
Subject: Odd ssh2 problem


> When I attempt to log onto another machine ssh2 tries to find my key files
> (the ones stored in the .ssh directory) under the / root directory as
> reported by cygwin instead of in my home directory. Is there a way to
force
> ssh to look in my home directory?
>
> Marcus
>
> --------------------------------------------------------------
> A program should follow the 'Law of Least Astonishment'.
> What is this law?  It is simply that the program should
>  always respond to the user in the way that astonishes him least.
>
>
>
> --
> Want to unsubscribe from this list?
> Check out: http://cygwin.com/ml/#unsubscribe-simple
>


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

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

* RE: Odd ssh2 problem
  2001-03-14 11:46 ` CyberZombie
@ 2001-03-14 12:23   ` Marcus A Martin
  2001-03-14 12:55   ` Corinna Vinschen
  1 sibling, 0 replies; 9+ messages in thread
From: Marcus A Martin @ 2001-03-14 12:23 UTC (permalink / raw)
  To: CyberZombie, Cygwin

Thanks. This fixed the problem for me.

> -----Original Message-----
> From: CyberZombie [ mailto:CyberZombie@mediaone.net ]
> Sent: Wednesday, March 14, 2001 2:48 PM
> To: Marcus A Martin; Cygwin
> Subject: Re: Odd ssh2 problem
> 
> 
> I ran into this one awhile ago...I don't see it in
> /usr/doc/Cygwin/openssh-2.5.1p2.README.  The problem is that $HOME isn't
> being defined.  Go into your passwd file and make sure the home 
> directory is
> specified for the user that you're logging in as.
> 
> ----- Original Message -----
> From: "Marcus A Martin" <mmartin@rbd.com>
> To: "Cygwin" <cygwin@cygwin.com>
> Sent: Wednesday, March 14, 2001 1:04 PM
> Subject: Odd ssh2 problem
> 
> 
> > When I attempt to log onto another machine ssh2 tries to find 
> my key files
> > (the ones stored in the .ssh directory) under the / root directory as
> > reported by cygwin instead of in my home directory. Is there a way to
> force
> > ssh to look in my home directory?
> >
> > Marcus
> >
> > --------------------------------------------------------------
> > A program should follow the 'Law of Least Astonishment'.
> > What is this law?  It is simply that the program should
> >  always respond to the user in the way that astonishes him least.
> >
> >
> >
> > --
> > Want to unsubscribe from this list?
> > Check out: http://cygwin.com/ml/#unsubscribe-simple
> >

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

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

* Re: Odd ssh2 problem
  2001-03-14 11:46 ` CyberZombie
  2001-03-14 12:23   ` Marcus A Martin
@ 2001-03-14 12:55   ` Corinna Vinschen
  2001-03-15  6:09     ` Wilson Farrell
  1 sibling, 1 reply; 9+ messages in thread
From: Corinna Vinschen @ 2001-03-14 12:55 UTC (permalink / raw)
  To: Cygwin

On Wed, Mar 14, 2001 at 01:48:12PM -0600, CyberZombie wrote:
> I ran into this one awhile ago...I don't see it in
> /usr/doc/Cygwin/openssh-2.5.1p2.README.  The problem is that $HOME isn't

Hmm. You're right. It's not in the README. Actually it's even never
mentioned in the man pages. I will add it to the README in the next
version.

> being defined.  Go into your passwd file and make sure the home directory is
> specified for the user that you're logging in as.

Corinna

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

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

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

* Re: Odd ssh2 problem
  2001-03-14 12:55   ` Corinna Vinschen
@ 2001-03-15  6:09     ` Wilson Farrell
  2001-03-15  7:55       ` Corinna Vinschen
  0 siblings, 1 reply; 9+ messages in thread
From: Wilson Farrell @ 2001-03-15  6:09 UTC (permalink / raw)
  To: cygwin

Corinna Vinschen wrote:
> 
> On Wed, Mar 14, 2001 at 01:48:12PM -0600, CyberZombie wrote:
> > I ran into this one awhile ago...I don't see it in
> > /usr/doc/Cygwin/openssh-2.5.1p2.README.  The problem is that $HOME isn't
> 
> Hmm. You're right. It's not in the README. Actually it's even never
> mentioned in the man pages. I will add it to the README in the next
> version.

Actually, I have found (as mentioned by DJ) that the ssh client ignore
$HOME and looks at the passwd file.  Ran into this exact problem
yesterday.  $HOME was set correctly, but the passwd file was botched. 
Maybe it looks at both?

BTW: I had a couple of people in my office do a fresh installation of
cygwin and found that it creates passwd file entries for every NT
account except the one currently logged in.  Hence, they ran into the
ssh problem.  Is this correct behavior of the initial passwd file
creation?

Cygwin is great.  Thanks for the hard work.

wilson

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

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

* Re: Odd ssh2 problem
  2001-03-15  6:09     ` Wilson Farrell
@ 2001-03-15  7:55       ` Corinna Vinschen
  2001-03-15 10:40         ` Wilson Farrell
  0 siblings, 1 reply; 9+ messages in thread
From: Corinna Vinschen @ 2001-03-15  7:55 UTC (permalink / raw)
  To: cygwin

On Thu, Mar 15, 2001 at 09:03:57AM -0500, Wilson Farrell wrote:
> 
> 
> Corinna Vinschen wrote:
> > 
> > On Wed, Mar 14, 2001 at 01:48:12PM -0600, CyberZombie wrote:
> > > I ran into this one awhile ago...I don't see it in
> > > /usr/doc/Cygwin/openssh-2.5.1p2.README.  The problem is that $HOME isn't
> > 
> > Hmm. You're right. It's not in the README. Actually it's even never
> > mentioned in the man pages. I will add it to the README in the next
> > version.
> 
> Actually, I have found (as mentioned by DJ) that the ssh client ignore
> $HOME and looks at the passwd file.  Ran into this exact problem
> yesterday.  $HOME was set correctly, but the passwd file was botched. 
> Maybe it looks at both?
> 
> BTW: I had a couple of people in my office do a fresh installation of
> cygwin and found that it creates passwd file entries for every NT
> account except the one currently logged in.  Hence, they ran into the
> ssh problem.  Is this correct behavior of the initial passwd file
> creation?

Naa. It connects to the NT user database using official NT calls
without any interest who's actually running it. The list should
reflect the local user database. The only thing I can think of
is that your users are domain users while mkpasswd is called
with option -l which only dumps the local users. The domain users
have to be retrieved by using mkpasswd -d domain.

Corinna

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

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

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

* Re: Odd ssh2 problem
  2001-03-15  7:55       ` Corinna Vinschen
@ 2001-03-15 10:40         ` Wilson Farrell
  0 siblings, 0 replies; 9+ messages in thread
From: Wilson Farrell @ 2001-03-15 10:40 UTC (permalink / raw)
  To: Corinna Vinschen

Corinna Vinschen wrote:

> 
> Naa. It connects to the NT user database using official NT calls
> without any interest who's actually running it. The list should
> reflect the local user database. The only thing I can think of
> is that your users are domain users while mkpasswd is called
> with option -l which only dumps the local users. The domain users
> have to be retrieved by using mkpasswd -d domain.
> 

That's what is is!!!  

thanks,
wilson

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

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

end of thread, other threads:[~2001-03-15 10:40 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-03-14 11:01 Odd ssh2 problem Marcus A Martin
2001-03-14 11:41 ` DJ Delorie
2001-03-14 11:44 ` Michael Erdely
2001-03-14 11:46 ` CyberZombie
2001-03-14 12:23   ` Marcus A Martin
2001-03-14 12:55   ` Corinna Vinschen
2001-03-15  6:09     ` Wilson Farrell
2001-03-15  7:55       ` Corinna Vinschen
2001-03-15 10:40         ` Wilson Farrell

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).