当直接从Live CD镜像(例如从U盘)启动Ubuntu系统时,如果想要安装sshd服务,那么需要安装openssh-server软件包,如果用apt-get install的方式安装不了就换用aptitude安装,安装成功后却发现启动不了ssh服务,如下所示:
问题展现:
Preconfiguring packages ... Selecting previously unselected package openssh-server. (Reading database ... 154905 files and directories currently installed.) Unpacking openssh-server (from .../openssh-
server_ 1%3a6.0p1- 1ubuntu1_ i386.deb) ... Selecting previously unselected package ssh-import-id. Unpacking ssh-import-id (from .../ssh- import- id_2.12- 0ubuntu1_ all.deb) ... Processing triggers for

在使用Ubuntu Live CD启动时,遇到openssh-server安装后无法启动的问题。这可能是Ubuntu的一个bug。解决方法包括尝试使用aptitude代替apt-get安装openssh-server,并参照相关资料进行修复。
最低0.47元/天 解锁文章
3181

被折叠的 条评论
为什么被折叠?



