Permission denied, please try again. Error is reported as follows
When using SSH to log in to ECS (elastic compute server) Linux server, if you are the root user, even if you enter the password correctly, the following error messages will appear.
Permission denied, please try again.
The ssh server rejected the password. Please try again.
However, non-root users can log in normally, and root users can log in normally through the management terminal.
The reason for the problem is that the server SSH service is configured with the policy of prohibiting root user login.
If this parameter is not configured, or if the parameter value is set to Yes (default), root user login is allowed. Root user login will be blocked only when the displayed setting is No.
This parameter only affects the user’s SSH login, and does not affect the user’s login to the system through management terminal and other methods.
service sshd restart restart sshd
Then try again.
Similar Posts:
- Su command error Su: permission denied [How to Solve]
- FTP connection error 530 permission denied solution
- MySQLAccess denied for user ‘root’@’localhost’ [How to Solve]
- MYSQL Login Error: mysqladmin: connect to server at ‘localhost’ failed
- [Solved] Forbid root, handle error sudo must be owned by uid 0
- [Solved] MYSQL ERROR 1044 (42000): Access denied for user ”@’localhost’ to database ‘mysql’
- ERROR 1044 (42000): Access denied for user ‘root’@’localhost’
- After installing mysql, centos7 can’t start the service, and prompts unit not found
- mysql 1142 – SELECT command denied to user ‘root_ssm’@’localhost’ for table …
- [Solved] MYSQL Install and Login Error: Access denied for user ‘ODBC’@’localhost’ (using password: NO)