delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/11/21/11:31:13

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
Message-Id: <5.0.0.25.2.20001121093042.02df5500@mail.prefres.com>
X-Sender: "Mminnis" <mminnis AT prefres DOT com>
X-Mailer: QUALCOMM Windows Eudora Version 5.0
Date: Tue, 21 Nov 2000 10:11:44 -0600
To: cygwin AT sources DOT redhat DOT com
From: "Matt Minnis" <mminnis AT prefres DOT com>
Subject: SSHD setup
In-Reply-To: <200011211506.KAA17240@envy.delorie.com>
References: <033701c053a5$34b302b0$f7c723cb AT lifelesswks>
<033701c053a5$34b302b0$f7c723cb AT lifelesswks>
Mime-Version: 1.0
X-SLUIDL: 35D35F6A-BFAE11D4-B71D0080-C813F968

Ok,

I have beat my head against this too much now.
What are the permissions for '/usr/local/etc/ssh_host_key'?
What about '/etc/ssh_host_dsa_key'?
If they are too open it says that this is bad, but when they are more 
secure, then it can't load it because it is not allowed.
what chmod values do I need?

/source/NT_Admin >sshd -d
debug1: sshd version OpenSSH_2.3.0p1
debug1: Seeding random number generator
error: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
error: @         WARNING: UNPROTECTED PRIVATE KEY FILE!          @
error: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
error: Bad ownership or mode(0600) for '/usr/local/etc/ssh_host_key'.
error: It is recommended that your private key files are NOT accessible by 
others.
error: Could not load host key: /usr/local/etc/ssh_host_key: error 0
Disabling protocol version 1
error: Could not load DSA host key: /etc/ssh_host_dsa_key
Disabling protocol version 2
sshd: no hostkeys available -- exiting.
sshd: no hostkeys available -- exiting.


Thanks,

Matt


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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