From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-user+bounces-69617-garchives=archives.gentoo.org@gentoo.org>)
	id 1IXJLL-0005GT-OP
	for garchives@archives.gentoo.org; Mon, 17 Sep 2007 16:21:04 +0000
Received: from robin.gentoo.org (localhost [127.0.0.1])
	by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l8HGBpHU027418;
	Mon, 17 Sep 2007 16:11:51 GMT
Received: from out2.smtp.messagingengine.com (out2.smtp.messagingengine.com [66.111.4.26])
	by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l8HG7QUS022602
	for <gentoo-user@lists.gentoo.org>; Mon, 17 Sep 2007 16:07:27 GMT
Received: from compute2.internal (compute2.internal [10.202.2.42])
	by out1.messagingengine.com (Postfix) with ESMTP id 54B742ED8E
	for <gentoo-user@lists.gentoo.org>; Mon, 17 Sep 2007 12:07:26 -0400 (EDT)
Received: from heartbeat1.messagingengine.com ([10.202.2.160])
  by compute2.internal (MEProxy); Mon, 17 Sep 2007 12:07:26 -0400
X-Sasl-enc: eJXS/BwtcUsPjEaZH+1G+2OMcmF0EnW6Ls71PZKEYNUK 1190045236
Received: from [10.6.104.131] (nat-vlan0201.sat4.rackspace.com [64.39.0.39])
	by www.fastmail.fm (Postfix) with ESMTP id 90D203711
	for <gentoo-user@lists.gentoo.org>; Mon, 17 Sep 2007 12:07:16 -0400 (EDT)
Subject: Re: [gentoo-user]  Re: Re: Re: SSH won't restart
From: Albert Hopkins <marduk@letterboxes.org>
To: gentoo-user@lists.gentoo.org
In-Reply-To: <46EE8BFC.8060002@buanzo.com.ar>
References: <49bf44f10709080840k4f64df08r1f3ba9a4e3b4f031@mail.gmail.com>
	 <200709161729.38863.mike@gaima.co.uk>
	 <7261622.flUsomQ6Nu@m-id.message-center.info>
	 <200709171403.25770.mike@gaima.co.uk>
	 <1980616.Rb4y685tq0@kn.gn.rtr.message-center.info>
	 <46EE8BFC.8060002@buanzo.com.ar>
Content-Type: text/plain
Date: Mon, 17 Sep 2007 11:06:25 -0500
Message-Id: <1190045185.18545.17.camel@localhost>
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
Mime-Version: 1.0
X-Mailer: Evolution 2.10.3 
Content-Transfer-Encoding: 7bit
X-Archives-Salt: 8eb94fb7-78af-4659-9ffd-86c58e3e711d
X-Archives-Hash: 09993ded15ba13c10c6a4ddf3e6e5c26

On Mon, 2007-09-17 at 11:15 -0300, Arturo 'Buanzo' Busleiman wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
> 
> Alexander Skwar wrote:
> > Well, I also found myself being unable to start sshd, but
> > these most often were due to some configuration changes.
> 
> And exactly for this is why test-restart was proposed by me.

There is a "sshd -t".  From the man page:

        -t      Test mode.  Only check the validity of the configuration
        file and sanity of the keys. This is useful for updating sshd
        reliably as configuration options may change.


-- 
gentoo-user@gentoo.org mailing list