Http://jingyan.baidu.com/article/fd8044fad48fc95031137a85.html
Recently installed in the virtual machine after Ubuntu, through the normal SSH remote connection when the correct root user name and password is always prompted to enter the password, unable to telnet, the trial of the normal user is normal. Behind the Internet to find the next information to solve. To share with you, hope to help you meet the same problem
Tools/Materials
Method/Step
- 1
Discover problems
Through Xshell connection ubuntu, input, connection name, IP, port, already user name password, input completed click Connect, start remote connection, found always prompted to connect not; Tip The SSH server rejected the password, please try again. "In fact, how many times it is useless to try;
- 2
Solve the problem
1, confirmed that the SSH service has been installed, through the ordinary user connection success;
2. Verify that SSH configuration has special settings for root, modify the/etc/ssh/sshd_config file
Permitrootlogin Without-password change Without-password to Yes;
3, restart the SSH service/etc/init.d/ssh restart;
- 3
Validation results
Use SSH connection again, this time without any hint, the connection was successful;
Problems with the Linux root user not being able to connect via SSH