From 541c5672e76d939b7415f08851eef3a9e57edc5d Mon Sep 17 00:00:00 2001 From: DAI Mingchen Date: Mon, 14 Oct 2024 06:48:42 +0000 Subject: [PATCH] [fix] SSH connection refused --- dev-ubuntu-20.04-ssh/entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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