tintin1926 发表于 2012-07-27 23:10

如何配置ssh禁止root采用密码模式登陆,其他用户可以

如何区分开root与其它用户,root采用publickey登陆,禁止密码登陆,其他用户则随意?

DiDeCrouse 发表于 2012-07-28 14:15

没听说过这种限制

ulovko 发表于 2012-07-29 11:23

PasswordAuthentication no       #nobody can login with password
PermitRootLogin no            #比较建议禁止root登入,而且貌似也没有能达到楼主要求的方法

tintin1926 发表于 2012-08-03 10:16

哦,这样啊,谢谢大家了\^^/
页: [1]
查看完整版本: 如何配置ssh禁止root采用密码模式登陆,其他用户可以