The location will sometimes be different, but it’s usually in /etc/ssh/.

fire up the file up while logged on as root.

vi /etc/ssh/sshd_config

Find this section in the file, containing the line with “PermitRootLogin” in it.