commit e624bccfcaa55bd96d9fdaa8d46bb206062c60da parent 19a65ff89fd063871c473ae122d1cd0780798c50 Author: MikoĊaj <mikolaj.lenczewski308@gmail.com> Date: Sun, 10 Jan 2021 17:19:31 +0000 Fixed typo in sshd bootscript Diffstat:
| M | bootscripts/rc.d/init.d/sshd | | | 8 | ++++---- |
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/bootscripts/rc.d/init.d/sshd b/bootscripts/rc.d/init.d/sshd @@ -4,20 +4,20 @@ . /etc/rc.d/init.d/common.sh -ED25519KEY=/etc/dropbear/dropbear_ecdsa_host_key +ED25519KEY=/etc/dropbear/dropbear_ed25519_host_key RSAKEY=/etc/dropbear/dropbear_rsa_host_key PIDFILE=/var/run/dropbear.pid case "$1" in start) if [ ! -r "$ED25519KEY" ]; then - echo -n "Generating ECDSA host key: " - dropbearkey -t dss -f "$ED25519KEY" >/dev/null 2>&1 + echo -n "Generating ED25519 host key: " + dropbearkey -t ed25519 -f "$ED25519KEY" >/dev/null 2>&1 check_status fi if [ ! -r "$RSAKEY" ]; then echo -n "Generating RSA host key: " - dropbearkey -t rsa -f "$RSAKEY" >/dev/null 2>&1 + dropbearkey -t rsa -s 4096 -f "$RSAKEY" >/dev/null 2>&1 check_status fi if [ -r "$PIDFILE" ]; then