系统相关
首页 > 系统相关> > Xshell 5连接上suse

Xshell 5连接上suse

作者:互联网

# 关闭防火墙

systemctl stop SuSEfirewall2.service

systemctl stop SuSEfirewall2_init.service

 

systemctl disable SuSEfirewall2.service

systemctl disable SuSEfirewall2_init.service

 

# 设置密码可以登陆

sed -i 's/PasswordAuthentication no/PasswordAuthentication yes/' /etc/ssh/sshd_config

 也可以直接vim /etc/ssh/sshd_config 打开文件去掉如下图的注释,将no改成yes

 

 

 

 

 

# 启动 sshd 服务

systemctl restart sshd

systemctl enable sshd

 

标签:sshd,suse,service,PasswordAuthentication,systemctl,Xshell,yes,连接,SuSEfirewall2
来源: https://blog.51cto.com/u_14841814/2855945