delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/07/27/17:05:34

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
From: Rael Gugelmin Cunha <rael AT grad DOT icmc DOT sc DOT usp DOT br>
X-Authentication-Warning: grad.icmc.sc.usp.br: www set sender to rael AT grad DOT icmc DOT sc DOT usp DOT br using -f
To: Prentis Brooks <prentis AT aol DOT net>
Subject: RE: RE: Re: Anybody really runs sshd in win2K?
Message-ID: <996267413.3b61d59597150@grad.icmc.sc.usp.br>
Date: Fri, 27 Jul 2001 17:56:53 -0300 (EST)
Cc: cygwin AT cygwin DOT com
References: <Pine DOT GSO DOT 4 DOT 33 DOT 0107271624140 DOT 7097-100000 AT magetower DOT office DOT aol DOT com>
In-Reply-To: <Pine.GSO.4.33.0107271624140.7097-100000@magetower.office.aol.com>
MIME-Version: 1.0
User-Agent: IMP/PHP IMAP webmail program 2.2.4

    Yes, I has set CYGWIN to ntsec and I run NTFS.

Cópia Prentis Brooks <prentis AT aol DOT net>:

> 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 AT 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 AT aol DOT 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 AT cygwin DOT 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 AT cygwin DOT 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 AT aol DOT 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 AT aol DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019