Leap 42.1如何启动ssh服务?

leap42.1 如何启动 ssh 服务?以前的 suse 都是 /etc/init.d/sshd start,到了现在这个版本找不到这个启动脚本了。

在 yast 软件管理中按软件集显示,找到 ssh 服务,安装后到 yast 里用图形界面启动就行了

sudo systemctl start sshd.service # 启动 ssh
sudo systemctl enable sshd.service # 开机自启动 ssh

你也许要处理下防火墙

其他服务也这么启动吗?我试了 vsftpd 为何不管用呢?start 以后 ps -ef|grep vsftp 看不到 vsftp 的进程

@958929876

其它的服务都是这么启动的,如果启动不了的话,用下面的命令查看服务运行状态:

sudo systemctl status -l vsftpd.service

请在命令行中键入
cnf vsftpd
检查是否已经安装了 vsftpd 软件包。
如果提示 command not found (命令未找到),则通过键入命令
sudo zypper install vsftpd
进行安装。
Best regards

openSUSE 现在是用 systemd 了,一般来说启动服务都是

systemctl start