图书网站建设实训心得,网络广告投放渠道有哪些,自己怎么做企业网站建设,域名例子今天安装了Ubuntu Server 14.04 在终端配置了root密码后#xff0c;使用SecureCRT和putty竟然不能ssh登陆#xff0c;SecureCRT一直提示密码不对#xff0c;但是可以肯定输入的密码100%正确#xff0c;用putty则一直报Access Denied#xff0c;所以可以肯定系统限制了ro… 今天安装了Ubuntu Server 14.04 在终端配置了root密码后使用SecureCRT和putty竟然不能ssh登陆SecureCRT一直提示密码不对但是可以肯定输入的密码100%正确用putty则一直报Access Denied所以可以肯定系统限制了root不允许远程ssh登陆。 但是普通用户远程ssh登录后su root正常 why 原来sshd_config里面有了限制 #vim /etc/ssh/sshd_config 1 2 3 4 5
# Authentication:
LoginGraceTime 120
#PermitRootLogin without-password #找到这里把它注释
PermitRootLogin yes #改为yes 然后重启a hrefhttp://so.21ops.com/cse/search?s9181936462520079739entry1qssh classbdcs-inlinelink target_blankssh/a
StrictModes yes
#service ssh restart
#Tips这里注意/etc/init.d/ssh restart 用这个方式重启是不成功的。 转载于:https://www.cnblogs.com/fjping0606/p/4949795.html