This is the mail archive of the cygwin@cygwin.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: Re: Anybody really runs sshd in win2K? (fwd)


This is the "cygwin mailing list".  It is not the "Corinna mailing list".

You can easily inspect the mailing list archives for past interactions.

I suggest that you do that rather than asking Corinna to essentially do it
for you.

cgf

On Fri, Jul 27, 2001 at 04:27:41PM -0400, Prentis Brooks wrote:
>hehe, replyed to the wrong one ;)  resending to list.
>
>
>Prentis Brooks	| prentis@aol.net | 703-265-0914 | AIM: PrentisB
>System Administrator - Web Infrastructure & Security
>
>       A knight is sworn to valor.  His heart knows only virtue.  His blade
>       defends the helpless.  His word speaks only truth.  His wrath undoes the
>       wicked. - the old code of Bowen, last of the dragonslayers
>
>---------- Forwarded message ----------
>Date: Fri, 27 Jul 2001 16:25:25 -0400 (EDT)
>From: Prentis Brooks <prentis@aol.net>
>To: Rael Gugelmin Cunha <rael@grad.icmc.sc.usp.br>
>Cc: cygwin@cygwin
>Subject: RE: Re: Anybody really runs sshd in win2K?
>
>Oh man... I do remember having your problem, but not how I solved it...
>
>I do remember it was after much tripidation and emails to Corinna ;)
>Corinna, do you recognize this problem?
>
>wait.. first thought, do you have CYGWIN set to ntsec and running NTFS?
>On Fri, 27 Jul 2001, Rael Gugelmin Cunha wrote:
>
>>
>>   I re-installed cygwin. I execute ssh-host-config.
>>   When I try run
>>   chown system.system /etc/ssh_host*_key and
>>   chmod 600 /etc/ssh_host*_key
>>   it's appears this message:
>>
>> Administrator@PARADISE /usr/sbin
>> $ ./sshd.exe
>> @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
>> @         WARNING: UNPROTECTED PRIVATE KEY FILE!          @
>> @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
>> Bad ownership or mode(0600) for '/etc/ssh_host_key'.
>> It is recommended that your private key files are NOT accessible by others.
>> This private key will be ignored.
>> bad permissions: ignore key: /etc/ssh_host_key
>> Could not load host key: /etc/ssh_host_key
>> @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
>> @         WARNING: UNPROTECTED PRIVATE KEY FILE!          @
>> @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
>> Bad ownership or mode(0600) for '/etc/ssh_host_rsa_key'.
>> It is recommended that your private key files are NOT accessible by others.
>> This private key will be ignored.
>> bad permissions: ignore key: /etc/ssh_host_rsa_key
>> Could not load host key: /etc/ssh_host_rsa_key
>> @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
>> @         WARNING: UNPROTECTED PRIVATE KEY FILE!          @
>> @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
>> Bad ownership or mode(0600) for '/etc/ssh_host_dsa_key'.
>> It is recommended that your private key files are NOT accessible by others.
>> This private key will be ignored.
>> bad permissions: ignore key: /etc/ssh_host_dsa_key
>> Could not load host key: /etc/ssh_host_dsa_key
>> Disabling protocol version 2. Could not load host key
>> sshd: no hostkeys available -- exiting.
>>
>>
>>    I did not have my domain user. The command
>>    mkpasswd -d | grep rael > rael
>>    causes this:
>>
>>    Cannot get DC, code = 2453
>>
>>    If I try without this commands, sshd runs (only from command line). Then, I
>> can connect. But, I cannot login. This appears:
>>
>> Disconnected; no more authentication methods available (No further authenticatio
>> n methods available.).
>>
>>
>>
>>
>> Citando Prentis Brooks <prentis@aol.net>:
>>
>> > btw, Corinna is the porter for OpenSSH under Cygwin.  I have installed
>> > sshd on my 2k professional system.  Here are the steps I followed:
>> >
>> > 1) Updated Cygwin via setup.exe
>> > 2) Ran ssh-host-config -y (which runs cygrunsrv, btw, Mike Erdely, if
>> > you
>> > 	are on this list, you may want to update that piece of your docs)
>> > 3) chown system.system /etc/ssh_host*_key
>> > 4) chmod 600 /etc/ssh_host*_key
>> > 5) Tested, could connect but not login since I did not have my domain
>> > user
>> > 	in /etc/passwd, ran mkpasswd -d | grep prentis > prentis then
>> > 	appended that entry to my /etc/passwd.
>> > 6) Logged into the 2k host from my Solaris box as prentis
>> >
>> > I haven't tried to see if I can supercede my NT password with an
>> > /etc/passwd
>> > or /etc/shadow entry, will test that next.
>> >
>> > On Fri, 27 Jul 2001, Rael Gugelmin Cunha wrote:
>> >
>> > >
>> > >   Hi Corina! Who are you?
>> > >   At moment, nobody help me with sshd.
>> > >   I has install cygwin (full instalation) in Win2k and Win98. In Win98
>> > I set
>> > > (in autoexec.bat) cygwin=tty and in Win2k cygwin=ntsec. I run
>> > ssh-host-config
>> > > command. Then, I use "crypt xxx" and insert the result in passwd.
>> > After, I
>> > > execute the fixperms.sh script from Michael Ederly site (in Win2k). In
>> > Win98
>> > > works well, but in Win2k, I try login via ssh2. I type my password,
>> > but is not
>> > > work. SSHD run as service not work too.
>> > >   Help me! Please!
>> > >   Thanks,
>> > >
>> > >
>> > >                                                   Rael...
>> > >
>> > >
>> > >
>> > > Citando Corinna Vinschen <cygwin@cygwin.com>:
>> > >
>> > > > On Fri, Jul 27, 2001 at 01:18:52PM -0300, Rael Gugelmin Cunha
>> > wrote:
>> > > > >
>> > > > >     I cannot. And, I posted messages to this list and to Michael
>> > > > Ederly. I
>> > > > > think this not works in Win2k, only in 98.
>> > > >
>> > > > It does. Daily usage under W2K makes me pretty sure.
>> > > >
>> > > > Corinna
>> > > >
>> > > > --
>> > > > Corinna Vinschen                  Please, send mails regarding
>> > Cygwin
>> > > > to
>> > > > Cygwin Developer
>> > > > mailto:cygwin@cygwin.com
>> > > > Red Hat, Inc.
>> > > >
>> > > > --
>> > > > Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
>> > > > Bug reporting:         http://cygwin.com/bugs.html
>> > > > Documentation:         http://cygwin.com/docs.html
>> > > > FAQ:                   http://cygwin.com/faq/
>> > > >
>> > > >
>> > >
>> > > --
>> > > Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
>> > > Bug reporting:         http://cygwin.com/bugs.html
>> > > Documentation:         http://cygwin.com/docs.html
>> > > FAQ:                   http://cygwin.com/faq/
>> > >
>> >
>> > Prentis Brooks	| prentis@aol.net | 703-265-0914 | AIM: PrentisB
>> > System Administrator - Web Infrastructure & Security
>> >
>> >        A knight is sworn to valor.  His heart knows only virtue.  His
>> > blade
>> >        defends the helpless.  His word speaks only truth.  His wrath
>> > undoes the
>> >        wicked. - the old code of Bowen, last of the dragonslayers
>> >
>> >
>> > --
>> > Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
>> > Bug reporting:         http://cygwin.com/bugs.html
>> > Documentation:         http://cygwin.com/docs.html
>> > FAQ:                   http://cygwin.com/faq/
>> >
>> >
>>
>
>Prentis Brooks	| prentis@aol.net | 703-265-0914 | AIM: PrentisB
>System Administrator - Web Infrastructure & Security
>
>       A knight is sworn to valor.  His heart knows only virtue.  His blade
>       defends the helpless.  His word speaks only truth.  His wrath undoes the
>       wicked. - the old code of Bowen, last of the dragonslayers
>
>
>
>--
>Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
>Bug reporting:         http://cygwin.com/bugs.html
>Documentation:         http://cygwin.com/docs.html
>FAQ:                   http://cygwin.com/faq/

-- 
cgf@cygnus.com                        Red Hat, Inc.
http://sources.redhat.com/            http://www.redhat.com/

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


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