照以下步骤输入命令并操作:
1、修改sshd_config文件,命令为:vi /etc/ssh/sshd_config
2、将#PasswordAuthentication no的注释去掉,并且将NO修改为YES
3、将#PermitRootLogin yes的注释去掉
4、重新启动SSH服务,命令为:service sshd restart
5、验证SSH服务状态,命令为:service sshd status
下载 putty
好的可以了,输入用户名密码,登陆成功了!
下一步设置sshd开机自动运行。chkconfig sshd on
重启一下,就可以了
Copyright © 2017-2021 Pzidc.com All Rights Reserved. 普泽云 版权所有 陕西云游四海网络科技有限公司 陕ICP备20002307号-4
《中华人民共和国增值电信业务经营许可证》B1-20182862