This is the mail archive of the cygwin@sources.redhat.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]

Re: Problem with ssh-keygen.exe.


On Sat, 2 Dec 2000, Corinna Vinschen wrote:

> Mo DeJong wrote:
> > application. I am running as user mdejong
> > with a home dir of /home/mdejong, but ssh-keygen
> > thinks differently.
> > 
> > $ ssh-keygen.exe
> > Generating RSA keys:  Key generation complete.
> > Enter file in which to save the key (/bin/sh/.ssh/identity):
> > 
> > from bash:
> > 
> > $ echo $HOME
> > /home/mdejong
> 
> Just for clarification: $HOME is in no way of interest for OpenSSH.
> OpenSSH applications always use the getpw... calls to get the user
> related information. So, as Chris Abbey already mentioned, check
> your /etc/passwd which is for sure your problem.
> 
> Corinna

Ok, but I still do not understand why the /etc/passwd file would
be created without a home directory, and why does it find
/bin/sh as the home dir instead of ""?

What program is run to generate this /etc/passwd file?
It seems like this problem needs to be fixed there.

thanks
Mo DeJong
Red Hat Inc

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


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