Which SSH key is used by embeded GAIA scheduled backup function by default? I asked because all have been added in authorized_keys. Of course I may setup both own backup scripts or ssh connectivity host profile but I'd like to use default GAIA config w/o additional configurarion under shell (only CLI or webUI).
[Expert@hostname:0]# ls -l /etc/ssh/*.pub
-rw-r----- 1 admin root 590 Jul 25 04:48 /etc/ssh/ssh_host_dsa_key.pub
-rw-r--r-- 1 admin root 179 Jul 25 04:58 /etc/ssh/ssh_host_ecdsa_key.pub
-rw-r--r-- 1 admin root 99 Jul 25 04:58 /etc/ssh/ssh_host_ed25519_key.pub
-rw-r----- 1 admin root 627 Jul 25 04:48 /etc/ssh/ssh_host_key.pub
-rw-r----- 1 admin root 382 Jul 25 04:48 /etc/ssh/ssh_host_rsa_key.pub
[Expert@hostname:0]#
BTW ssh -i option works only for ed25519, edsa and rsa (ssh_host_key and dsa return error of key format). I can connect via RSA key manually:
Oct 9 07:40:08 hostname sshd[734829]: Accepted key RSA SHA256:xxxxxxxxxx found at /srv/scp//.ssh/authorized_keys:20
but scheduled backup doesn't work:
Oct 9 07:32:23 hostname sshd[734635]: Unable to negotiate with hostname port 28758: no matching host key type found. Their offer: ssh-rsa [preauth]
Oct 9 07:32:34 hostname sshd[734639]: Accepted password for backupconfig from hostname port 28760 ssh2
It seems scheduled backup uses any other rsa key (probably SHA1).