本文主要是介绍如何用winscp连接suse,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
第一步:关系防火墙
SuSEfirewall2 stop(解决了大多数问题)
第二步:配置sshd_config文件
service sshd restart
还需要修改ssh配置文件:
/etc/ssh/sshd_config 修改该配置文件:
# Authentication:
LoginGraceTime 120
PermitRootLogin without-password
StrictModes yes
将PermitRootLogin without-password 修改为PermitRootLogin yes,如下:
# Authentication:LoginGraceTime 120
PermitRootLogin yes
StrictModes yes
第三步:重启sshd
service sshd restart
这篇关于如何用winscp连接suse的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!