sshでのrootリモートログインを禁止する

Debianの場合

/etc/ssh/sshd_configを編集し、以下の行を設定

 

PermitRootLogin no

コメント