Ubuntu 开机自启ssh
时间: 2023-08-28 19:14:52 浏览: 109
回答: 在Ubuntu中,可以通过以下命令来实现开机自启动SSH服务:/etc/init.d/ssh start /etc/init.d/ssh stop /etc/init.d/ssh restart [1。此外,还可以使用以下命令来进行安装和检查SSH服务的状态:sudo apt-get install openssh-server ps -e | grep ssh [2 [3。如果结果中有sshd的进程说明openssh-server已经启动,如果没有则需运行命令启动。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* *3* [Ubuntu安装且自启SSH](https://blog.csdn.net/weixin_30613433/article/details/97594437)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 100%"]
[ .reference_list ]
阅读全文