`
loquat
  • 浏览: 68636 次
  • 性别: Icon_minigender_1
  • 来自: 济南
社区版块
存档分类
最新评论

Centos SSH

 
阅读更多

1、修改sshd_config文件,命令为:vi /etc/ssh/sshd_config

 

 

 

 

 

2、将#PasswordAuthentication no的注释去掉,并且将NO修改为YES

 

 

 

 

 

4、验证SSH服务状态,命令为:/etc/init.d/sshd status

 

 

 

 

 

5、重新启动SSH服务,命令为:/etc/init.d/sshd restart

 

 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics