1、修改sshd_config文件,命令为:vi /etc/ssh/sshd_config 2、将#PasswordAuthentication no的注释去掉,并且将NO修改为YES 3、将#PermitRootLogin yes的注释去掉 4、重新启动SSH服务,命令为:/etc/init.d/sshd restart 5、验证SSH服务状态,命令为:/etc/init.d/sshd status
linux 开启ssh端口
猜你喜欢
转载自boyssheng.iteye.com/blog/1345193
今日推荐
周排行