From 16c31d10040db4f175642376b284a0f98609e19e Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Sat, 30 Jun 2018 19:25:15 +0100 Subject: [PATCH] openssh: Write port 22 into the default configuration file Signed-off-by: Michael Tremer --- lfs/openssh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lfs/openssh b/lfs/openssh index 2db56b09cc..9d551f1988 100644 --- a/lfs/openssh +++ b/lfs/openssh @@ -82,7 +82,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) cd $(DIR_APP) && make $(MAKETUNING) cd $(DIR_APP) && make install - sed -i -e 's/^#\?Port .*$$/Port 222/' \ + sed -i -e 's/^#\?Port .*$$/Port 22/' \ -e 's/^#\?Protocol .*$$/Protocol 2/' \ -e 's/^#\?LoginGraceTime .*$$/LoginGraceTime 30s/' \ -e 's/^#\?PubkeyAuthentication .*$$/PubkeyAuthentication yes/' \ -- 2.39.2