在BeagleBone Black上自动启动OpenSSH sshd
有人知道如何在BeagleBone Black上自动启动sshd吗?我已经用OpenSSH替换了dropbear。标准的在BeagleBone Black上自动启动OpenSSH sshd,openssh,beagleboneblack,angstrom-linux,systemd,Openssh,Beagleboneblack,Angstrom Linux,Systemd,有人知道如何在BeagleBone Black上自动启动sshd吗?我已经用OpenSSH替换了dropbear。标准的systemctl enable sshd不起作用,但奇怪的是systemctl start sshd起作用。我对用systemd替换init的系统还很陌生,所以希望我不会错过一些琐碎/简单的东西。正在讨论的BeagleBone Black正在运行Angstrom Linux,并且正在使用opkg包管理器。OpenSSH是通过opkg安装OpenSSH安装的。当我运行syste
systemctl enable sshd
不起作用,但奇怪的是systemctl start sshd
起作用。我对用systemd替换init的系统还很陌生,所以希望我不会错过一些琐碎/简单的东西。正在讨论的BeagleBone Black正在运行Angstrom Linux,并且正在使用opkg
包管理器。OpenSSH是通过opkg安装OpenSSH
安装的。当我运行systemctl启用时sshd@.service
,我收到以下信息:
The unit files have no [Install] section. They are not meant to be enabled
using systemctl.
Possible reasons for having this kind of units are:
1) A unit may be statically enabled by being symlinked from another unit's
.wants/ or .requires/ directory.
2) A unit's purpose may be to act as a helper for some other unit which has
a requirement dependency on it.
3) A unit may be started when needed via activation (socket, path, timer,
D-Bus, udev, scripted systemctl call, ...).
我安装的版本是OpenSSH_6.0p1,OpenSSL 1.0.1e,2013年2月11日显然systemd既有一个sshd.service单元,也有一个sshd.socket单元,这两个单元旨在相互排斥地使用。每次外部进程连接到端口22时,systemd都应该自动启动并连接sshd守护进程。这是什么意思?它是一个符号链接吗?