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,搞定!
本文介绍如何在OpenSuse11.3中设置SSH服务开机启动,并解决了无法通过密码验证的问题。通过修改配置文件,使得SSH服务支持密码认证。
6854

被折叠的 条评论
为什么被折叠?



