Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <415A9B4E.5A1EB3E7@dessent.net>
Date: Wed, 29 Sep 2004 04:23:58 -0700
From: Brian Dessent <brian@dessent.net>
Organization: My own little world...
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: ssh-host-config requires cygminires.dll
References: <415975F6.5030403@swipnet.se> <Pine.GSO.4.61.0409281059050.4120@slinky.cs.nyu.edu> <415983C7.9010101@swipnet.se> <Pine.GSO.4.61.0409281328350.4220@slinky.cs.nyu.edu> <415A73B6.2030306@swipnet.se> <415A7C82.99C307BE@dessent.net> <415A8259.909@swipnet.se> <415A98AC.B1140D40@dessent.net>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Reply-To: cygwin@cygwin.com

Brian Dessent wrote:

> > ssh_host_*_key.pub are owned by the user that has run ssh-host-config
> > Is it OK ?
> 
> If you ran the above commands they should be owned by SYSTEM.  The idea
> here is that those files contain the private half of the host's
> public/private keypair, and this is sensitive data.  So the file should
> be readable only by the account that runs the ssh daemon.  If you are
> the only local user then it doesn't really matter much as you can be
> trusted, but on an actual multiuser posix system you would want to
> restrict the host key files accordingly.

Sorry, I realize I misread.  The .pub files are the public half of the
keypair, and should be world-readable by anyone.  The ones that don't
end in .pub are the private half of the keypair and should be
restricted.

Brian

--
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/

