]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
use custom SSH client configuration in LFS file
authorPeter Müller <peter.mueller@link38.eu>
Mon, 10 Sep 2018 14:29:09 +0000 (16:29 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 10 Sep 2018 15:36:41 +0000 (16:36 +0100)
Include OpenSSH client configuration file during build.

Signed-off-by: Peter Müller <peter.mueller@link38.eu>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
lfs/openssh

index a88b2d126133cbdd30465476871f5981dceb6817..0e6acc2278555b26f39e5077ae0887d0d9fadc80 100644 (file)
@@ -100,5 +100,10 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
                -e 's|^#\?HostKey /etc/ssh/ssh_host_ed25519_key$$||' \
                -e 's|^#\?HostKey /etc/ssh/ssh_host_rsa_key$$|HostKey /etc/ssh/ssh_host_ecdsa_key\nHostKey /etc/ssh/ssh_host_ed25519_key\nHostKey /etc/ssh/ssh_host_rsa_key|' \
                /etc/ssh/sshd_config
+
+       # install custom OpenSSH client configuration
+       install -v -m 644 $(DIR_SRC)/config/ssh/ssh_config \
+               /etc/ssh/ssh_config
+
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)