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,搞定!