Check config file for SSH using the command /usr/sbin/sshd -t
[gitlab] (~) >>> echo "000" >> /etc/ssh/sshd_config
[gitlab] (~) >>> /usr/sbin/sshd -t
/etc/ssh/sshd_config: line 90: Bad configuration option: 000
/etc/ssh/sshd_config: terminating, 1 bad configuration options
[gitlab] (~) >>> sed -i '90d' /etc/ssh/sshd_config
[gitlab] (~) >>> /usr/sbin/sshd -t
[gitlab] (~) >>>
To get all currently loaded options you can run an extended test with the command /usr/sbin/sshd -T
This can also be used to find options such as the port/permitrootlogin
[callisto] (~) >>> /usr/sbin/sshd -T|egrep -i 'permitrootlogin|port'
port 65195
permitrootlogin yes
gatewayports no