This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: OpenSSH
rickiez <rickiez@verizon.net> writes:
> I have a 2000 server running Cygwin and SSH and it has been working fine for a
> year or so, but I went to add a user to Active Directory and I can see the user
> in /etc/passwd
Do you mean you add user information into /etc/passwd manually?
IMO, you should do as following:
$ mkpasswd -l -c >/etc/passwd
$ mkgroup -l -c >/etc/group
Use -d option if you want to add domain user.
> but when I try to log in via SSH it denies me and logs it in
> event viewer as:
>
> The description for Event ID ( 0 ) in Source ( sshd ) cannot be found. The local
> computer may not have the necessary registry information or message DLL files to
> display messages from a remote computer. The following information is part of
> the event: sshd : PID 2348 : Failed password for illegal user "username" from
> 192.168.0.12 port 1079.
>
>
>
> I replaced the real username with "username" for security reasons.
>
>
>
>
> Any help is greatly appreciated.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/