From owner-cvs-all Wed Apr 10 22:26:43 2002 Delivered-To: cvs-all@freebsd.org Received: from fw.wemm.org (12-232-135-171.client.attbi.com [12.232.135.171]) by hub.freebsd.org (Postfix) with ESMTP id EED5D37B400; Wed, 10 Apr 2002 22:26:33 -0700 (PDT) Received: from overcee.wemm.org (overcee.wemm.org [10.0.0.3]) by fw.wemm.org (8.11.6/8.11.6) with ESMTP id g3B5QXQ26873; Wed, 10 Apr 2002 22:26:33 -0700 (PDT) (envelope-from peter@wemm.org) Received: from wemm.org (localhost [127.0.0.1]) by overcee.wemm.org (Postfix) with ESMTP id 523DD3810; Wed, 10 Apr 2002 22:26:34 -0700 (PDT) (envelope-from peter@wemm.org) X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 Cc: Dag-Erling Smorgrav , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/etc rc.network In-Reply-To: <20020411051611.9A8A63810@overcee.wemm.org> Date: Wed, 10 Apr 2002 22:26:34 -0700 From: Peter Wemm Message-Id: <20020411052634.523DD3810@overcee.wemm.org> Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Peter Wemm wrote: > Dag-Erling Smorgrav wrote: > > Peter Wemm writes: > > > Log: > > > Since sshd expects /etc/ssh/ssh_host_rsa_key to exist, we had better > > > create it. Also specify protocol v1/v2 in case people wonder why we > > > generate two RSA keys. > > > > No! This was omitted on purpose. Please back it out. > > Well then, please fix sshd so that it stops complaining about it missing > at startup! More constructively, here's the error message: peter@ref5[10:23pm]~-5# /usr/sbin/sshd Could not load host key: /etc/ssh/ssh_host_rsa_key The sshd_config is purely default: peter@ref5[10:23pm]~-6# grep HostKey /etc/ssh/sshd_config # HostKey for protocol version 1 #HostKey /etc/ssh/ssh_host_key # HostKeys for protocol version 2 #HostKey /etc/ssh/ssh_host_rsa_key #HostKey /etc/ssh/ssh_host_dsa_key Also, can you fix this while you're there? Logging in causes this: Apr 10 18:06:56 ref5 sshd[540]: in _openpam_check_error_code(): %s(): unexpected return value %d(): unexpected return value 673339764 peter@ref5[10:25pm]~-8# diff /etc/pam.d/sshd /usr/src/etc/pam.d/sshd peter@ref5[10:25pm]~-9# cd /usr/src/etc; cvs -R diff -u sshd @@ -6,6 +6,7 @@ # auth auth required pam_nologin.so no_warn +auth sufficient pam_krb5.so no_warn auth required pam_unix.so no_warn try_first_pass # account Cheers, -Peter -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message