openssh: Write port 22 into the default configuration file

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2018-06-30 19:25:15 +01:00
parent 7d06d0de7b
commit 16c31d1004

View File

@@ -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/' \