build: preset host's keys
This commit is contained in:
BIN
host_keys/dropbear_ecdsa_host_key
Normal file
BIN
host_keys/dropbear_ecdsa_host_key
Normal file
Binary file not shown.
BIN
host_keys/dropbear_ed25519_host_key
Normal file
BIN
host_keys/dropbear_ed25519_host_key
Normal file
Binary file not shown.
BIN
host_keys/dropbear_rsa_host_key
Normal file
BIN
host_keys/dropbear_rsa_host_key
Normal file
Binary file not shown.
@@ -34,3 +34,7 @@ sed -i "s/enable\ \'0\'/enable \'1\'/" package/ctcgfw/luci-app-oled/root/etc/con
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
sed -i 's/192.168.1.1/192.168.2.1/' package/base-files/files/bin/config_generate
|
sed -i 's/192.168.1.1/192.168.2.1/' package/base-files/files/bin/config_generate
|
||||||
|
|
||||||
|
mkdir -p package/base-files/files/etc/dropbear
|
||||||
|
mv $GITHUB_WORKSPACE/host_keys/* package/base-files/files/etc/dropbear/
|
||||||
|
chmod 600 package/base-files/files/etc/dropbear/*
|
||||||
|
|||||||
Reference in New Issue
Block a user