OK THX I'll stay like it is by default to level 5
as moving to cronloglevel=9 well modifies the reporting level with no report of the cron start nor of the scp copies every 5 mn. But it also donnot report of true errors (I introduced a wrong line in the crontab for testing and it was not detected)
It won't create the folder because a file exists, but no file exists?
root@rp4-openwrt:/# mkdir ~/.ssh/
mkdir: can't create directory '/root/.ssh/': File exists
root@rp4-openwrt:/# ls
bin dev lib lost+found overlay rom sbin tmp var
boot etc lib64 mnt proc root sys usr www
root@rp4-openwrt:/# mkdir ~/.ssh/
mkdir: can't create directory '/root/.ssh/': File exists
root@rp4-openwrt:/# cd /.ssh/
-ash: cd: can't cd to /.ssh/: No such file or directory
Edit
It has created a new folder /root/.ssh is that the correct folder structure or should it be /.ssh/ ?
Edit 2
I've got it working. Thanks for adding those tips.
dropbearkey
Usage: dropbearkey -t <type> -f <filename> [-s bits]
-t type Type of key to generate. One of:
rsa
ed25519
-f filename Use filename for the secret key.
~/.ssh/id_dropbear is recommended for client keys.
-s bits Key size in bits, should be a multiple of 8 (optional)
Ed25519 has a fixed size of 256 bits
-y Just print the publickey and fingerprint for the
private key in <filename>.
From your animation, yes you should be able to use a dropbearkey to copy the public key to LuCI/Administration/SSH-Keys. I believe it is OpenSSH compatible, but if you want to replicate the OP’s post, the dropbearkey` is required because Dropbear needs the keys in a different format to OpenSSH. Reread the wiki link.