From: Michael Tremer Date: Sat, 30 Jun 2018 18:25:15 +0000 (+0100) Subject: openssh: Write port 22 into the default configuration file X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=16c31d10040db4f175642376b284a0f98609e19e;p=people%2Fms%2Fipfire-2.x.git openssh: Write port 22 into the default configuration file Signed-off-by: Michael Tremer --- 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/' \