openSUSE Leap 15安装打开ssh

参考

https://www.hiroom2.com/2018/06/28/opensuse-15-openssh-server-en/

openSUSE安装完成后是不能ssh连接的,因为ssh的服务没有打开。默认ssh是安装的,运行下面命令

sudo zypper -n in openssh
sudo systemctl enable sshd
sudo systemctl restart sshd
sudo firewall-cmd --add-service=ssh --permanent
sudo firewall-cmd --reload

猜你喜欢

转载自www.cnblogs.com/studywithallofyou/p/12935329.html