fix: correct port application during local tests

This commit is contained in:
Jose Diaz-Gonzalez committed 2019-04-08 13:22:40 -04:00
1 parent ff945c64fe
commit 6cc6d5a33f
1 file changed
+1
+1
View File
@@ -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