RE: OpenSSH on Windows 2003 server

From: Smita Kelkar <skelkar_at_**********.***>
Date: Tue Sep 07 2004 - 01:12:45 EDT

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

-----Original Message-----
From: ssh-bounces@erdelynet.com [mailto:ssh-bounces@erdelynet.com]On
Behalf Of Matthieu Dubuget
Sent: Monday, September 06, 2004 7:12 PM
To: Secure Shell Discussions
Subject: Re: OpenSSH on Windows 2003 server

sherr@con-span.com a écrit :
>
> Matthieu,
>
> FWIW.
> I had a problem similar to yours where as soon as I was
> authenticated using password log in, my session would
> immediately close. Found one little error message similar
> to setreuid, though I think it might have been just a tad
> different in the middle. What I found searching the web was
> that it had to do with group id's for the different groups
> created on the machine in Windows, as well as how those
> were connected to the user in the mkpasswd process.
>
> The user I was having issues with was one I created AFTER
> I had done the install. This was part or all of the issue.
> Even though I used mkpasswd after the creation of the new
> user, I still couldn't get it to work. Instead of fighting and
> fighting and possibly loosening security, I uninstalled and
> reinstalled Windows OpenSSH and then I still had to manually
> edit the group ID on the user but it worked just fine after
> that. The way to find the group ID's is to use mkgroup and
> look in there at what the different ID's are.
>
>
>
> Stephen Herr

Thanks for your answer Stephen,

I will try to reinstall from scratch, creating users before!

This is time consuming, so do not expect a report in a too short time...

In the meantime I also tried to replace cygwin1.dll as it is reported in
one another mail of the list that it could be the reason of a
disconnection after a successfull login: no effect.

I really think that as you are saying, I have to adapt users and rights
on Windows. The problem is to find exactly how...

Salutations

Matthieu

--
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.
--
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 01:18:53 2004

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