Re: OpenSSH on Windows 2003 server

From: Matthieu Dubuget <matthieu.dubuget_at_**********.***>
Date: Tue Sep 07 2004 - 07:21:47 EDT

Hello,

Well, I did not succeed with cygwin: basically because of a lack of
information/understanding of the things to do (for example, give rights
to users etc is like chinese for me).

I instead used the last version of Michael Johnson's installer
(http://sshwindows.sourceforge.net/).

_AFTER_ that, I created the user I wanted to log to my windows server
with the right to log remotely or something like that). This may be
something I should try to change, according to Stephen Herr: i.e.
creating my accounts _BEFORE_ installing.

Configuration of the stuff is (from memory) something like that :
- open a shell
- cd to the install directory of openssh
- cd to the bin subdirectory
- mkgroup -l > ../etc/group
- mkgroup -d >> ../etc/group
- mkpasswd -l > ../etc/passwd
- mkpasswd -d >> ../etc/passwd
- edit those files to suppress duplicates etc.
- alternatively, use the -u switch to select which user you want to add
to your group and passwd files

Then, after the service is run, I can log from another computer with
password authentification.

But as I said, as soon as I try to log on with key authentification, the
authentification succeeds, but the connection is immediatly shut down.

I hope this helps.

Matthieu

P.S. I wrote this from memory. Should print/copy the procedure I wrote
during my tests.

Smita Kelkar a écrit :
> Hi Matthieu,
>
> I tried installing ssh on windows 2003 however could not succeed.
>
> I took following steps
>
> 1.Downloaded latest cygwin setup from Internet ( some site ..dont remember..i guess mirrors.rcn.net)
> 2.Installed cygrunsrv, openssh
> 3.Executed ssh-host-config
> 4.This asked me to create a new user for running sshd service under windows
> 5.I created the user , added it to admin group, gave enough privileges to this user to access all possible cygwin paths
> 6.Tried running "net start sshd"
> 7.Howevere every time got an error "Could not access cygcrypto-0.9.7.dll,file not found".However this file lies in c:\cygwin\bin and I have set all paths right
>
>
>
> could u please put your remarks
>
> Or else please point me to the latest workable "cygwin setup binaries" and if you have some documented procedure of ur tests, would help!
>
> thanks
> Smita
>
>
>

--
List Information: https://mail.erdelynet.com/mailman/listinfo/ssh/
List Archives:    http://erdelynet.com/archive/ssh-l/
To Unsubscribe: Go to https://mail.erdelynet.com/mailman/options/ssh#subscribers
and enter your email address at the bottom.
If you don't know your password, have it emailed to you. Then unsubscribe.
Received on Tue Sep 7 07:26:59 2004

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