在旧版本的 Ubuntu 中,我注释掉了 /etc/init/ssh.conf 中的“start on ...”行。这运行良好,但不适用于 Ubuntu 15.04。
autostart openssh sshd 15.04
15.04 ×1
autostart ×1
openssh ×1
sshd ×1