1. 重置启动限制
您可以使用以下命令来重置 SSH 服务的启动限制:
Bash<svg width="12" height="12" viewBox="0 0 11.199999809265137 11.199999809265137" class="cursor-pointer flex items-center tongyi-design-highlighter-copy-btn">浅色版本<svg width="1em" height="1em" fill="currentColor" aria-hidden="true" focusable="false" class=""></svg></svg> sudo systemctl reset-failed ssh
然后再次尝试启动 SSH 服务:
没有更多内容了Bash<svg width="12" height="12" viewBox="0 0 11.199999809265137 11.199999809265137" class="cursor-pointer flex items-center tongyi-design-highlighter-copy-btn">浅色版本<svg width="1em" height="1em" fill="currentColor" aria-hidden="true" focusable="false" class=""></svg></svg> sudo systemctl start ssh