]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
openssh: Write port 22 into the default configuration file
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 30 Jun 2018 18:25:15 +0000 (19:25 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 30 Jun 2018 18:25:15 +0000 (19:25 +0100)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
lfs/openssh

index 2db56b09cc3b0631c89a38580a67fb881e3f1358..9d551f19889593c0f7e3e893ed637f0f2894416a 100644 (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/' \