RE: OpenSSH set up problems?

From: Johnson, Michael <Michael.Johnson.03_at_**********.***>
Date: Thu Oct 23 2003 - 17:44:34 EDT

Basically all the Cygwin mkpasswd does is add an entry for a specific user
to the passwd file. Cygwin uses Windows' authentication mechanisms for
password checking and such. (A nice bonus to this is that only users in
passwd can use the SSH server, making passwd more like an access list than a
true passwd.)

 -Michael
  http://lexa.mckenna.edu/sshwindows/

-----Original Message-----
From: SHerr@con-span.com [mailto:SHerr@con-span.com]
Sent: Thursday, October 23, 2003 2:19 PM
To: Secure Shell Discussions
Subject: Re: OpenSSH set up problems?

It is my experience that Cygwin is a POSIX wrapper or interface to Windows.
That means security is still basically a function of Windows. Though there
are many of the facilities in Cygwin that are present in *nix environments.

Personally on my servers I used the OpenSSH distro from
http://lexa.mckenna.edu/sshwindows/ on my servers to set them up
as easily as possible. It does everything you need it to do to set up
the connection point. All that is left is to import the security from
Windows
to the Cygwin environment. This I did at the CMD.exe command prompt
using the mkpasswd and mkgroup commands as the readme instructs.
These import the Windows groups and users and creates the link to
Windows security from Cygwin.

The syntax for mkpasswd is "mkpasswd -l -u username >> ..\etc\passwd".
     Replace the -l with -d for a domain user.
The syntax for mkgroup is "mkgroup -l >> ..\etc\group".
     Replace the -l with -d for domain groups.

hope that helps some.

Stephen Herr

 

                    Eric Evans

                    <eje4@cornell.edu To: ssh-l@erdelynet.com

> cc:

                    Sent by: Subject: OpenSSH set up
problems?
                    ssh-l-bounces@erd

                    elynet.com

 

 

                    10/23/2003 12:19

                    Please respond to

                    Secure Shell

                    Discussions

 

 

Hi,

I just downloaded and installed Cygwin and OpenSSH on our Win2000 machine,
and I'm having a lot of trouble right off the bat. For one thing, many of
the commands in the bash shell, such as mkpasswd, don't seem to work at
all. The command is accepted without any error message, but it produces no

result. Weird. The other thing that I'm wondering is, how does one assign

a password to a user in OpenSSH? It seems like the mkpasswd command is
supposed to create an entry for that user in the /etc/password file (even
though I haven't been successful yet in getting it to do that), but then
how do you then set a password for that user? I've used SSH servers on
UNIX machines before but this is my first experience trying to set up an
SSH server on a PC and I'm confused. Can anybody provide some
guidance? Thanks very much.

Eric

--
List Information: http://tech.erdelynet.com/mailman/listinfo/ssh-l/
List Archives:    http://erdelynet.com/archive/ssh-l/
To Unsubscribe: Go to
http://tech.erdelynet.com/mailman/options/ssh-l/sherr@con-span.com
If you don't know your password, have it emailed to you. Then unsubscribe.
--
List Information: http://tech.erdelynet.com/mailman/listinfo/ssh-l/
List Archives:    http://erdelynet.com/archive/ssh-l/
To Unsubscribe: Go to
http://tech.erdelynet.com/mailman/options/ssh-l/michael.johnson.03@mckenna.e
du
If you don't know your password, have it emailed to you. Then unsubscribe.
###########################################
This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange.
For more information, connect to http://www.F-Secure.com/
--
List Information: http://tech.erdelynet.com/mailman/listinfo/ssh-l/
List Archives:    http://erdelynet.com/archive/ssh-l/
To Unsubscribe: Go to http://tech.erdelynet.com/mailman/options/ssh-l/ssh-archives@krusty.erdelynet.com
If you don't know your password, have it emailed to you. Then unsubscribe.
Received on Thu Oct 23 17:46:07 2003

This archive was generated by hypermail 2.1.8 : Fri Jul 29 2005 - 17:34:00 EDT