From owner-FreeBSD-users-jp@jp.freebsd.org  Sat Mar  3 04:03:23 2001
Received: (from daemon@localhost)
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) id EAA59605;
	Sat, 3 Mar 2001 04:03:23 +0900 (JST)
	(envelope-from owner-FreeBSD-users-jp@jp.FreeBSD.org)
Received: from ad.wakwak.com (root@ad.wakwak.com [210.165.16.112])
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) with ESMTP id EAA59599
	for <FreeBSD-users-jp@jp.freebsd.org>; Sat, 3 Mar 2001 04:03:22 +0900 (JST)
	(envelope-from okoutakesima@ad.wakwak.com)
Received: from ibm300 (pl036.nas312.kochi.nttpc.ne.jp [210.153.228.36])
	by ad.wakwak.com (8.11.1/8.11.1/2001-02-21) with SMTP id f22J39A87000
	for <FreeBSD-users-jp@jp.freebsd.org>; Sat, 3 Mar 2001 04:03:09 +0900 (JST)
	(envelope-from okoutakesima@ad.wakwak.com)
Message-ID: <000c01c0a34b$87f1a850$c848a8c0@ibm300>
From: "takesima" <okoutakesima@ad.wakwak.com>
To: <FreeBSD-users-jp@jp.freebsd.org>
Date: Fri, 2 Mar 2001 20:31:14 +0900
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-2022-jp"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2919.6700
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700
Reply-To: FreeBSD-users-jp@jp.freebsd.org
Precedence: list
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+000315
X-Sequence: FreeBSD-users-jp 59423
Subject: [FreeBSD-users-jp 59423] plain =?ISO-2022-JP?B?GyRCISEbKEI=?=
 passwprd =?ISO-2022-JP?B?GyRCISEkRyRPGyhC?= ssh
 =?ISO-2022-JP?B?GyRCJEckLSRKJCQkaCQmJEskOSRrGyhC?=
Errors-To: owner-FreeBSD-users-jp@jp.freebsd.org
Sender: owner-FreeBSD-users-jp@jp.freebsd.org
X-Originator: okoutakesima@ad.wakwak.com

$BC]Eg!w2,K-IB1!$G$9!#(B

FreeBSD4.1$B$+#r(Bmakeworld$B$7$?(B4.2$B$G$O!"(B
$B#t#t(Bssh$B$+$i!"!!(BRSA$B!!$d$C$F$F$b!!(Bplain$B!!(Bpasswprd$B!!$@$1$G(Blogin$B$G$-$F$7$^$$$^(B
$B$9!#(B
$B$3$l$OBg7gE@$G$9!#(B

$B$G!"$3$N2r7h$N$?$a0J2<$N4s$jF;$r$7$^$7$?!#(B
$B!a!a!a!a!a!a!a!a!a!a!a!a!a!a!a(B
$B$^$:(Bredhat7.0J$B$G$N2r7hK!$G$9!#(B
[root@redhat /root]# cat /etc/ssh/sshd_config
-----------------------------------------
PasswordAuthentication no$B!z$3$3$@$1Be$($k(B
-----------------------------------------
$B$G(B
$B$^$:(Bredhat7.0$B$G$O!"(Bplain$B!!(Bpasswprd$B!!$@$1$G(Blogin$B$G$-$J$/$J$j$^$7$?!#(B
RSA$B$G(Blogin$B$G$-$^$9!#(B
$B$[$C$H0l0B?4$G$9!#(B
$B$J$*!"(B/etc/ssh/ssh_config$B$O?($j$^$;$s!#(B
-------------------

$B$H$3$m$,>e$HF1$8@_Dj$G$O(BFreeBSD4.2$B!J(B4.1$B$+$i(Bmake$B!!(Bworld$B!KDL$j$^$;$s!#(B
$B$G!"0J2<$N(B/redhat7.0J$B$G$N@_Dj$H$*$j@_Dj$7$F$bBLL\$G$9!#(B
FreeBSD$B$G!!(Bssh$B!!(Blocalhost$B$7$?$i(Bmodule$B$,$&$s$L$s$HJ86g$r8@$o$l$^$7$?!#(B
$B$9$k$H!!(B/usr/ports/security/openssh$B!!$G(Bmake$B$G$7$g$&$+!)(B


$B$J$*!!(Bredhat$B$N@_Dj$r;29M$K5-$7$^$9!#(B
[root@redhat /root]# cat /etc/ssh/sshd_config
$B!d!d!d!d!d!d!d!d!d!d!d!d!d!d!d!d!d!d!d!d!d(B
# This is ssh server systemwide configuration file.

Port 22
Protocol 2,1
ListenAddress 0.0.0.0
#ListenAddress ::
HostKey /etc/ssh/ssh_host_key
ServerKeyBits 768
LoginGraceTime 600
KeyRegenerationInterval 3600
PermitRootLogin yes
#
# Don't read ~/.rhosts and ~/.shosts files
IgnoreRhosts yes
# Uncomment if you don't trust ~/.ssh/known_hosts for
RhostsRSAAuthentication
#IgnoreUserKnownHosts yes
StrictModes yes
X11Forwarding yes
X11DisplayOffset 10
PrintMotd yes
KeepAlive yes

# Logging
SyslogFacility AUTH
LogLevel INFO
#obsoletes QuietMode and FascistLogging

RhostsAuthentication no
#
# For this to work you will also need host keys in /etc/ssh_known_hosts
RhostsRSAAuthentication no
#
RSAAuthentication yes

# To disable tunneled clear text passwords, change to no here!
##### take-------preiosly yes here
PasswordAuthentication no
##### take--------
PermitEmptyPasswords no
# Uncomment to disable s/key passwords
#SkeyAuthentication no

# To change Kerberos options
#KerberosAuthentication no
#KerberosOrLocalPasswd yes
#AFSTokenPassing no
#KerberosTicketCleanup no

# Kerberos TGT Passing does only work with the AFS kaserver
#KerberosTgtPassing yes

CheckMail no
#UseLogin no

#Subsystem      sftp    /usr/local/sbin/sftpd
#MaxStartups 10:30:60


**************************************
[root@redhat /root]# cat /etc/ssh/ssh_config
$B!d!d!d!d!d!d!d!d!d!d!d!d!d!d!d!d!d!d(B
# This is ssh client systemwide configuration file.  This file provides
# defaults for users, and the values can be changed in per-user
configuration
# files or on the command line.

# Configuration data is parsed as follows:
#  1. command line options
#  2. user-specific file
#  3. system-wide file
# Any configuration value is only changed the first time it is set.
# Thus, host-specific definitions should be at the beginning of the
# configuration file, and defaults at the end.

# Site-wide defaults for various options

# Host *
#   ForwardAgent yes
#   ForwardX11 yes
#   RhostsAuthentication yes
#   RhostsRSAAuthentication yes
#   RSAAuthentication yes
#   PasswordAuthentication yes
#   FallBackToRsh no
#   UseRsh no
#   BatchMode no
#   CheckHostIP yes
#   StrictHostKeyChecking no
#   IdentityFile ~/.ssh/identity
#   Port 22
#   Protocol 2,1
#   Cipher blowfish
#   EscapeChar ~
Host *
        ForwardX11 yes
        Protocol 2,1


_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
okoutakesima@ad.wakwak.com
http://www.ad.wakwak.com/~okoutakesima/


