新安装的OpenSuse11.3, 用Xshell基于ssh的远程登录失败问题的解决

来源:互联网 发布:mysql 显示字符集 编辑:程序博客网 时间:2024/05/01 23:22

OpenSuse11.3默认没有开机启动ssh服务,所以操作如下:

#cd /etc/init.d

#chkconfig --add sshd

#chkconfig sshd on

 

现在用Xshell基于ssh尝试远程连接,能连接不支持密码方式验证。

解决方法如下:

修改/etc/ssh/sshd_config文件,把

PasswordAuthentication no
修改为
PasswordAuthentication yes

再重启ssh服务即可:
/etc/init.d/sshd restart

 

OK,搞定!

原创粉丝点击