OpenWRT secret key created
After uploading their own public, with the secret key is connected to the router lede, I found to be rejected.
Found lede / OpenWRT authorized_keys public key is not stored file ~ / .ssh / below, and in the / etc / dropbear / below.
After checking the format or not found.
Finally looked permissions with ls -l, found -rw-rw-rw-. After the change permissions with chmod 600 authorized_keys, you can log in to the router a secret key.
Incomprehensible, automatically generated public key file permissions can not be automatically adjusted to the 600 it, why should set up a pit it? ?
Then the password off.
Check the configuration file / etc / config / dropbear will be able to see an
option PasswordAuth 'off'
records
dropbear is a lightweight software ssh, ssh v2 version only, and OpenSSH slightly different.
And dropbear generated keys and secret key openssh format is not the same, it certainly is after pit ah.