当前位置: 首页 > Linux

linux设置开机自启动

时间:2023-04-06 18:20:16 Linux

sudosystemctlenablessh3?[sudo]botpassword:Synchronizingstateofssh.servicewithSysVservicescriptwith/lib/systemd/systemd-sysv-install.Executing:/lib/systemd/systemd-sysv-install启用sshCreated符号链接/etc/systemd/system/sshd.service→/lib/systemd/system/ssh.service.Created符号链接/etc/systemd/system/multi-user.target.wants/ssh.service→/lib/systemd/system/ssh.service。