From owner-FreeBSD-users-jp@jp.FreeBSD.org Thu Sep 11 16:16:51 2003
Received: (from daemon@localhost)
	by castle.jp.FreeBSD.org (8.11.6p2+3.4W/8.11.3) id h8B7GpR41066;
	Thu, 11 Sep 2003 16:16:51 +0900 (JST)
	(envelope-from owner-FreeBSD-users-jp@jp.FreeBSD.org)
Received: from ns.crs.co.jp (ns.crs.co.jp [202.214.152.13])
	by castle.jp.FreeBSD.org (8.11.6p2+3.4W/8.11.3) with ESMTP/inet id h8B7Gow41061
	for <FreeBSD-users-jp@jp.FreeBSD.org>; Thu, 11 Sep 2003 16:16:50 +0900 (JST)
	(envelope-from ta.nakamura@crs.co.jp)
Received: from inns.ycc.crs.co.jp ([192.168.30.202])
	by ns.crs.co.jp (8.11.3/8.11.3) with ESMTP id h8B79iH06596;
	Thu, 11 Sep 2003 16:09:44 +0900
Received: from [192.168.31.117] (localhost [127.0.0.1])
	by inns.ycc.crs.co.jp (8.11.3/8.11.3) with ESMTP id h8B7GdJ22464;
	Thu, 11 Sep 2003 16:16:39 +0900
From: NAKAMURA Takeshi <1yen@sh.rim.or.jp>
To: FreeBSD-users-jp@jp.FreeBSD.org
In-Reply-To: <52FB131E-E416-11D7-920E-00039369015E@jmail.plala.or.jp>
References: <52FB131E-E416-11D7-920E-00039369015E@jmail.plala.or.jp>
Message-Id: <20030911160912.DB4E.1YEN@sh.rim.or.jp>
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-2022-JP"
Content-Transfer-Encoding: 7bit
X-Mailer: Becky! ver. 2.06.02
Reply-To: FreeBSD-users-jp@jp.FreeBSD.org
Precedence: list
Date: Thu, 11 Sep 2003 16:16:39 +0900
X-Sequence: FreeBSD-users-jp 76204
Subject: [FreeBSD-users-jp 76204] Re: ssh =?ISO-2022-JP?B?GyRCJEcbKEI=?=
 root =?ISO-2022-JP?B?GyRCJEclbSUwJSQlcxsoQg==?= 
Sender: owner-FreeBSD-users-jp@jp.FreeBSD.org
X-Originator: 1yen@sh.rim.or.jp
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+030902

$BCgB<$G$9(B

On Thu, 11 Sep 2003 14:10:56 +0900,
 sigure@jmail.plala.or.jp wrote:

> $B%(%i!<$O<!$N$h$&$K=P$^$9(B
> error : PAM : authentication error
> 
> PAM$B$N@_Dj$+$H;W$$(BchallengeResponseAuthentication$B$r(Bno$B$K$7$F$bBLL\$G$7$?(B
> Failed password for root from
> $B$H$G$F$7$^$$$^$9(B

 $B%Q%9%o!<%I$,0c$C$F$=$&$G$9!#(B
$B%Q%9%o!<%I$,$"$C$F$$$l$P!"(Bssh $B$rC!$$$?2hLL$K$O(B error $B$O=P$F$-$^$;$s(B

% ssh root@localhost                                                                                              2003/09/11 16:11:34
Password:
Password:
Password:
root@localhost's password:
Permission denied, please try again.
root@localhost's password:
Permission denied, please try again.
root@localhost's password:
Permission denied (publickey,password,keyboard-interactive).
Exit 255


 login $B$@$1$G$"$l$P;d$N=j$O0J2<$N$h$&$K$7$F$G$-$k$h$&$K$J$j$^$7$?!#(B
# $B4X78$J$$$N$b0lGUF~$C$F$$$^$9$,(B...
# diff -u /usr/src/crypto/openssh/sshd_config /etc/ssh/sshd_config
--- /usr/src/crypto/openssh/sshd_config Thu Apr 24 02:10:53 2003
+++ /etc/ssh/sshd_config        Thu Sep 11 15:03:50 2003
@@ -14,7 +14,7 @@
 # Note that some of FreeBSD's defaults differ from OpenBSD's, and
 # FreeBSD has a few additional options.

-#VersionAddendum FreeBSD-20030423
+VersionAddendum FreeBSD-20030423

 #Port 22
 #Protocol 2,1
@@ -27,8 +27,8 @@
 #HostKey /etc/ssh/ssh_host_dsa_key

 # Lifetime and size of ephemeral version 1 server key
-#KeyRegenerationInterval 3600
-#ServerKeyBits 768
+KeyRegenerationInterval 3600
+ServerKeyBits 2048

 # Logging
 #obsoletes QuietMode and FascistLogging
@@ -83,7 +83,7 @@
 #UseLogin no
 #UsePrivilegeSeparation yes
 #PermitUserEnvironment no
-#Compression yes
+Compression no

 #MaxStartups 10
 # no default banner path
@@ -92,3 +92,5 @@

 # override default of no subsystems
 Subsystem      sftp    /usr/libexec/sftp-server
+
+PermitRootLogin        yes

% uname -a
FreeBSD crcc1712 5.1-CURRENT FreeBSD 5.1-CURRENT #5: Tue Aug 26 05:51:18 JST 2003     root@crcc1712:/usr/obj/usr/src/sys/GENERIC  i386
% cat /usr/src/CVS/Tag
D2003.07.09.15.00.00

----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+
 $B4X@>2-Fl@DG/$N=8$$(B $B$,$8$^$k$N2q(B $B<jEA$$(B $B0l?M$@$1$N>!<j$K?@F`@n;YIt(B
 $BCgB<(B $BIp(B <1yen@sh.rim.or.jp>

