From 6cc6d5a33f8ed5e3d55f485cbb28dcdac200428b Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Mon, 8 Apr 2019 13:22:40 -0400 Subject: [PATCH] fix: correct port application during local tests --- tests.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/tests.mk b/tests.mk index d3b932782..16a6fb2fd 100644 --- a/tests.mk +++ b/tests.mk @@ -71,6 +71,7 @@ endif ifneq ($(wildcard /etc/ssh/sshd_config),) ifeq ($(shell grep 22333 /etc/ssh/sshd_config),) sed --in-place "s:^Port 22:Port 22 \\nPort 22333:g" /etc/ssh/sshd_config + sed --in-place "s:^#Port 22$:Port 22 \\nPort 22333:g" /etc/ssh/sshd_config service ssh restart endif endif