diff --git a/dev-ubuntu-20.04-ssh/entrypoint.sh b/dev-ubuntu-20.04-ssh/entrypoint.sh index ca49a64..072e13d 100644 --- a/dev-ubuntu-20.04-ssh/entrypoint.sh +++ b/dev-ubuntu-20.04-ssh/entrypoint.sh @@ -5,4 +5,4 @@ rm -f /etc/ssh/ssh_host_* ssh-keygen -A # 2. 启动 SSH 服务 -service ssh start +service ssh restart