5
キーを持つユーザーのみにログインを許可するようにSSHを強制するにはどうすればよいですか?
ここの指示に従ってみました:http : //lani78.wordpress.com/2008/08/08/generate-a-ssh-key-and-disable-password-authentication-on-ubuntu-server/ サーバー上の公開鍵を持つユーザーのみが認証できるようにするために、ユーザー名/パスワードのみでログインすることをSSHで禁止することはできません。 ここに私のsshd_configファイルがあります-何も欠けていますか?SSHとコンピューター自体を再起動しようとしました。 # Package generated configuration file # See the sshd_config(5) manpage for details # 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 # HostKeys for protocol …