ITeye博客

Centos SSH

loquat · 2014-03-18 10:58 · 非技术 · Markdown

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

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。