When you attempt to remotely log in to a Linux ECS, the system displays the error message "Access denied".
Check the username and password.
PermitRootLogin yes
service sshd restart
systemctl restart sshd