elevennails
New Around Here
ASUS ZenWiFi AC (CT8) running factory firmware 3.0.0.4.386_47399 Unable to use ssh.
The eventlog shows:
Jul 30 12:37:02 dropbear[11830]: Failed loading /etc/dropbear/dropbear_rsa_host_key
Jul 30 12:37:02 dropbear[11830]: Failed loading /etc/dropbear/dropbear_dss_host_key
Jul 30 12:37:02 dropbear[11830]: Failed loading /etc/dropbear/dropbear_ecdsa_host_key
Jul 30 12:37:02 dropbear[11830]: Failed loading /etc/dropbear/dropbear_ed25519_host_key
If i telnet into the router i can see that /etc/dropbear has these files however they are symlinks to:
lrwxrwxrwx 1 user root 32 May 5 2018 dropbear_dss_host_key -> /jffs/.ssh/dropbear_dss_host_key
lrwxrwxrwx 1 user root 34 May 5 2018 dropbear_ecdsa_host_key -> /jffs/.ssh/dropbear_ecdsa_host_key
lrwxrwxrwx 1 user root 36 May 5 2018 dropbear_ed25519_host_key -> /jffs/.ssh/dropbear_ed25519_host_key
lrwxrwxrwx 1 user root 32 May 5 2018 dropbear_rsa_host_key -> /jffs/.ssh/dropbear_rsa_host_key
The /jffs/.ssh folder appears to be missing.
If i try and create the /jffs/.ssh folder it says that the file system is readonly
I've tried removing the symlinks and creating the files manually using
rm /etc/dropbear/*
dropbearkey -t rsa -f /etc/dropbear/dropbear_rsa_host_key
dropbearkey -t dsa -f /etc/dropbear/dropbear_dsa_host_key
dropbearkey -t ecdsa -f /etc/dropbear/dropbear_ecdsa_host_key
dropbearkey -t ed25519 -f /etc/dropbear/dropbear_ed25519_host_key
ssh then works but i've notice that when I restart the router, the original Dropbear service symlinks come back and its all broken again.
Does anyone know how i can fix this?
Thanks
The eventlog shows:
Jul 30 12:37:02 dropbear[11830]: Failed loading /etc/dropbear/dropbear_rsa_host_key
Jul 30 12:37:02 dropbear[11830]: Failed loading /etc/dropbear/dropbear_dss_host_key
Jul 30 12:37:02 dropbear[11830]: Failed loading /etc/dropbear/dropbear_ecdsa_host_key
Jul 30 12:37:02 dropbear[11830]: Failed loading /etc/dropbear/dropbear_ed25519_host_key
If i telnet into the router i can see that /etc/dropbear has these files however they are symlinks to:
lrwxrwxrwx 1 user root 32 May 5 2018 dropbear_dss_host_key -> /jffs/.ssh/dropbear_dss_host_key
lrwxrwxrwx 1 user root 34 May 5 2018 dropbear_ecdsa_host_key -> /jffs/.ssh/dropbear_ecdsa_host_key
lrwxrwxrwx 1 user root 36 May 5 2018 dropbear_ed25519_host_key -> /jffs/.ssh/dropbear_ed25519_host_key
lrwxrwxrwx 1 user root 32 May 5 2018 dropbear_rsa_host_key -> /jffs/.ssh/dropbear_rsa_host_key
The /jffs/.ssh folder appears to be missing.
If i try and create the /jffs/.ssh folder it says that the file system is readonly
I've tried removing the symlinks and creating the files manually using
rm /etc/dropbear/*
dropbearkey -t rsa -f /etc/dropbear/dropbear_rsa_host_key
dropbearkey -t dsa -f /etc/dropbear/dropbear_dsa_host_key
dropbearkey -t ecdsa -f /etc/dropbear/dropbear_ecdsa_host_key
dropbearkey -t ed25519 -f /etc/dropbear/dropbear_ed25519_host_key
ssh then works but i've notice that when I restart the router, the original Dropbear service symlinks come back and its all broken again.
Does anyone know how i can fix this?
Thanks
Last edited: