From 812d2247988e0956a513de75b9b5e6e22e2b2b39 Mon Sep 17 00:00:00 2001 From: Calin Crisan Date: Mon, 20 Jan 2020 23:02:15 +0200 Subject: [PATCH] Make ssh host keys symlinks to /data/etc/ssh --- board/common/overlay/etc/ssh/ssh_host_dsa_key | 1 + board/common/overlay/etc/ssh/ssh_host_dsa_key.pub | 1 + board/common/overlay/etc/ssh/ssh_host_ecdsa_key | 1 + board/common/overlay/etc/ssh/ssh_host_ecdsa_key.pub | 1 + board/common/overlay/etc/ssh/ssh_host_ed25519_key | 1 + board/common/overlay/etc/ssh/ssh_host_ed25519_key.pub | 1 + board/common/overlay/etc/ssh/ssh_host_rsa_key | 1 + board/common/overlay/etc/ssh/ssh_host_rsa_key.pub | 1 + 8 files changed, 8 insertions(+) create mode 120000 board/common/overlay/etc/ssh/ssh_host_dsa_key create mode 120000 board/common/overlay/etc/ssh/ssh_host_dsa_key.pub create mode 120000 board/common/overlay/etc/ssh/ssh_host_ecdsa_key create mode 120000 board/common/overlay/etc/ssh/ssh_host_ecdsa_key.pub create mode 120000 board/common/overlay/etc/ssh/ssh_host_ed25519_key create mode 120000 board/common/overlay/etc/ssh/ssh_host_ed25519_key.pub create mode 120000 board/common/overlay/etc/ssh/ssh_host_rsa_key create mode 120000 board/common/overlay/etc/ssh/ssh_host_rsa_key.pub diff --git a/board/common/overlay/etc/ssh/ssh_host_dsa_key b/board/common/overlay/etc/ssh/ssh_host_dsa_key new file mode 120000 index 0000000000..216ab6d2c1 --- /dev/null +++ b/board/common/overlay/etc/ssh/ssh_host_dsa_key @@ -0,0 +1 @@ +/data/etc/ssh/ssh_host_dsa_key \ No newline at end of file diff --git a/board/common/overlay/etc/ssh/ssh_host_dsa_key.pub b/board/common/overlay/etc/ssh/ssh_host_dsa_key.pub new file mode 120000 index 0000000000..e7cb790c28 --- /dev/null +++ b/board/common/overlay/etc/ssh/ssh_host_dsa_key.pub @@ -0,0 +1 @@ +/data/etc/ssh/ssh_host_dsa_key.pub \ No newline at end of file diff --git a/board/common/overlay/etc/ssh/ssh_host_ecdsa_key b/board/common/overlay/etc/ssh/ssh_host_ecdsa_key new file mode 120000 index 0000000000..e9d2bd2cbc --- /dev/null +++ b/board/common/overlay/etc/ssh/ssh_host_ecdsa_key @@ -0,0 +1 @@ +/data/etc/ssh/ssh_host_ecdsa_key \ No newline at end of file diff --git a/board/common/overlay/etc/ssh/ssh_host_ecdsa_key.pub b/board/common/overlay/etc/ssh/ssh_host_ecdsa_key.pub new file mode 120000 index 0000000000..98095124f5 --- /dev/null +++ b/board/common/overlay/etc/ssh/ssh_host_ecdsa_key.pub @@ -0,0 +1 @@ +/data/etc/ssh/ssh_host_ecdsa_key.pub \ No newline at end of file diff --git a/board/common/overlay/etc/ssh/ssh_host_ed25519_key b/board/common/overlay/etc/ssh/ssh_host_ed25519_key new file mode 120000 index 0000000000..4db94c79b1 --- /dev/null +++ b/board/common/overlay/etc/ssh/ssh_host_ed25519_key @@ -0,0 +1 @@ +/data/etc/ssh/ssh_host_ed25519_key \ No newline at end of file diff --git a/board/common/overlay/etc/ssh/ssh_host_ed25519_key.pub b/board/common/overlay/etc/ssh/ssh_host_ed25519_key.pub new file mode 120000 index 0000000000..b6fcbb1950 --- /dev/null +++ b/board/common/overlay/etc/ssh/ssh_host_ed25519_key.pub @@ -0,0 +1 @@ +/data/etc/ssh/ssh_host_ed25519_key.pub \ No newline at end of file diff --git a/board/common/overlay/etc/ssh/ssh_host_rsa_key b/board/common/overlay/etc/ssh/ssh_host_rsa_key new file mode 120000 index 0000000000..1839c2a53c --- /dev/null +++ b/board/common/overlay/etc/ssh/ssh_host_rsa_key @@ -0,0 +1 @@ +/data/etc/ssh/ssh_host_rsa_key \ No newline at end of file diff --git a/board/common/overlay/etc/ssh/ssh_host_rsa_key.pub b/board/common/overlay/etc/ssh/ssh_host_rsa_key.pub new file mode 120000 index 0000000000..797a0bef6c --- /dev/null +++ b/board/common/overlay/etc/ssh/ssh_host_rsa_key.pub @@ -0,0 +1 @@ +/data/etc/ssh/ssh_host_rsa_key.pub \ No newline at end of file