[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[debian-users:33873] ssh でパスワード認証を無効にしたい
- From: Takeshi Suyama <tsuyama@xxxxx>
- Subject: [debian-users:33873] ssh でパスワード認証を無効にしたい
- Date: Thu, 1 Aug 2002 09:57:09 +0900
- X-ml-info: If you have a question, send e-mail with the body "help" (without quotes) to the address debian-users-ctl@debian.or.jp; help=<mailto:debian-users-ctl@debian.or.jp?body=help>
- X-ml-name: debian-users
- X-mlserver: fml [fml 3.0pl#17]; post only (only members can post)
- X-spam-level: *
- X-spam-status: No, hits=1.7 required=10.0 tests=ISO2022JP_CHARSET,SUBJ_HAS_Q_MARK,PLING,ISO2022JP_BODY, CASHCASHCASH,DOUBLE_CAPSWORD version=2.31
- Message-id: <200208010057.JAA16276@xxxxxxxxxxx>
- X-mail-count: 33873
- X-mailer: Datula version 1.52.01 for Windows
須山です。
すでに,woodyがリリースされてしまいましたが,potatoを使用し
ております。
sshでパスワード認証を無効にしたいのですが,うまくいきませ
ん。
/etc/ssh/sshd_configにある
PasswordAuthentication no
とした上で,
/etc/init.d/ssh restart
として,sshを再起動したのですが,依然として,パスワード認証
ができてしまいます。
sshはDebianのパッケージからインストールしており,バージョン
は
Version: 1:3.4p1-0.0potato1
となっております。参考までに,/etc/ssh/sshd_configを下記の添
付します。
# Package generated configuration file
# See the sshd(8) manpage for defails
# What ports, IPs and protocols we listen for
Port 22
# Use these options to restrict which interfaces/protocols sshd will bind to
#ListenAddress ::
#ListenAddress 0.0.0.0
Protocol 2,1
# HostKeys 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
# Lifetime and size of ephemeral version 1 server key
KeyRegenerationInterval 3600
ServerKeyBits 768
# Logging
SyslogFacility AUTH
LogLevel INFO
# Authentication:
LoginGraceTime 600
PermitRootLogin yes
StrictModes yes
RSAAuthentication yes
PubkeyAuthentication yes
#AuthorizedKeysFile %h/.ssh/authorized_keys
# rhosts authentication should not be used
RhostsAuthentication no
# Don't read the user's ~/.rhosts and ~/.shosts files
IgnoreRhosts yes
# For this to work you will also need host keys in /etc/ssh_known_hosts
RhostsRSAAuthentication no
# similar for protocol version 2
HostbasedAuthentication no
# Uncomment if you don't trust ~/.ssh/known_hosts for RhostsRSAAuthentication
#IgnoreUserKnownHosts yes
# To enable empty passwords, change to yes (NOT RECOMMENDED)
PermitEmptyPasswords no
# Uncomment to disable s/key passwords
#ChallengeResponseAuthentication no
# To disable tunneled clear text passwords, change to no here!
PasswordAuthentication no
# Use PAM authentication via keyboard-interactive so PAM modules can
# properly interface with the user
PAMAuthenticationViaKbdInt 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
X11Forwarding no
X11DisplayOffset 10
PrintMotd no
#PrintLastLog no
KeepAlive yes
#UseLogin no
#MaxStartups 10:30:60
#Banner /etc/issue.net
#ReverseMappingCheck yes
Subsystem sftp /usr/lib/sftp-server
UsePrivilegeSeparation yes
問題点があれば,ご教示していただけると幸いです。よろしくお願
いいたします。
--
Takeshi Suyama mailto:tsuyama@xxxxx