File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,8 @@ setup_syncthing() {
4040setup_dropbear () {
4141 [ ! -d " $DROPBEAR_KEY_DIR " ] && mkdir -p " $DROPBEAR_KEY_DIR "
4242 [ ! -f " $DROPBEAR_KEY_DIR /dropbear_rsa_host_key" ] && /mnt/SDCARD/System/bin/dropbearmulti dropbearkey -t rsa -f " $DROPBEAR_KEY_DIR /dropbear_rsa_host_key"
43- [ ! -f " $DROPBEAR_KEY_DIR /dropbear_dss_host_key" ] && /mnt/SDCARD/System/bin/dropbearmulti dropbearkey -t dss -f " $DROPBEAR_KEY_DIR /dropbear_dss_host_key"
43+ [ ! -f " $DROPBEAR_KEY_DIR /dropbear_ecdsa_host_key" ] && /mnt/SDCARD/System/bin/dropbearmulti dropbearkey -t ecdsa -f " $DROPBEAR_KEY_DIR /dropbear_ecdsa_host_key"
44+ [ ! -f " $DROPBEAR_KEY_DIR /dropbear_ed25519_host_key" ] && /mnt/SDCARD/System/bin/dropbearmulti dropbearkey -t ed25519 -f " $DROPBEAR_KEY_DIR /dropbear_ed25519_host_key"
4445 [ " $( awk -F " :" ' /root/ {print $2}' " /etc/shadow" ) " = " !" ] && echo -e " quark\nquark" | passwd root # set default root password
4546}
4647
@@ -73,7 +74,8 @@ start_dropbear_process() {
7374 if ! pgrep dropbearmulti > /dev/null 2>&1 ; then
7475 /mnt/SDCARD/System/bin/dropbearmulti dropbear \
7576 -r " $DROPBEAR_KEY_DIR /dropbear_rsa_host_key" \
76- -r " $DROPBEAR_KEY_DIR /dropbear_dss_host_key" \
77+ -r " $DROPBEAR_KEY_DIR /dropbear_ecdsa_host_key" \
78+ -r " $DROPBEAR_KEY_DIR /dropbear_ed25519_host_key" \
7779 -c " /mnt/SDCARD/System/scripts/ssh_wrapper.sh"
7880 fi
7981}
You can’t perform that action at this time.
0 commit comments