-1
有人知道如何在BeagleBone Black上自動啓動sshd嗎?我已經用OpenSSH取代了dropbear。標準systemctl enable sshd
不起作用,但奇怪的是systemctl start sshd
。我對系統使用systemd替換init很陌生,所以希望我不會錯過簡單/瑣碎的事情。有問題的BeagleBone Black正在運行Angstrom Linux,並使用opkg
軟件包管理器。 OpenSSH與opkg install openssh
一起安裝。當我運行systemctl enable [email protected]
,我得到以下信息:在BeagleBone Black上自動啓動OpenSSH sshd
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 11 Feb 2013
「@」是什麼意思?它是符號鏈接嗎? – lindhe