Today, the newly installed server Ubuntu14.04 with the root user connection has been prompted to connect, using other ordinary users are not a problem, and later learned that the SSH configuration file caused by the problem.
650) this.width=650; "Src=" https://s1.51cto.com/wyfs02/M02/9C/6C/wKiom1lwTdjjQgrZAABNShJqX9Q092.png-wh_500x0-wm_ 3-wmp_4-s_2711523763.png "title=" 0720.PNG "alt=" Wkiom1lwtdjjqgrzaabnshjqx9q092.png-wh_50 "/>
Modify:
Vim/etc/ssh/sshd_config
Found it:
# Authenticaton
Logingracetime 120
Premitrootlogin without passwd
Strictmodes Yes
Modified to:
# Authenticaton
Logingracetime 120
Premitrootlogin Yes
Strictmodes Yes
Then restart the SSH service:
#/etc/init.d/ssh Restart
This is no problem with the root user logging in remotely.
This article is from the "Yangbin" blog, make sure to keep this source http://13683137989.blog.51cto.com/9636221/1949313
Xshell when using the root user to connect Ubuntu14.04, the SSH server is prompted to reject the password, please try again