You need to restart sshd service after updating the config with sudo systemctl restart sshd.
sshd
sudo systemctl restart sshd