「Xserver VPSでDebianサーバ構築/SSHサーバ設定」の版間の差分

提供: Medeshima wiki
ナビゲーションに移動 検索に移動
(ページの作成:「= パスワード認証を無効化 = 次のファイルに、以下の設定を行う。 * /etc/ssh/sshd_config <nowiki> PasswordAuthentication no </nowiki> 次の…」)
(相違点なし)

2023年4月19日 (水) 12:41時点における版

パスワード認証を無効化

次のファイルに、以下の設定を行う。

  • /etc/ssh/sshd_config
PasswordAuthentication no

次のコマンドを実行する。

$ sudo systemctl reload sshd