# vi /etc/ssh/sshd_config
#PermitRootLogin yes ←左記の1行を修正します。 ↓ PermitRootLogin no
設定変更後、sshdを再起動
# /etc/rc.d/init.d/sshd restart