subprocess ssh: Host key verification failed.
Fatal: unable to open repository at sftp://user@targetserver.noho.st:9999//home/user/restic/auto_zerobin: unable to start the sftp session, error: error receiving version packet from server: server unexpectedly closed connection: unexpected EOF
Tried a regular connection with this user :
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: UNPROTECTED PRIVATE KEY FILE! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Permissions 0660 for '/home/user/.ssh/id_ed25519' are too open.
It is required that your private key files are NOT accessible by others.
This private key will be ignored.
Load key "/home/user/.ssh/id_ed25519": bad permissions
I did a chmod 600 on this file, i‘ll retry the backup.
Well, in my case, it seems to chmod 600 the private key solved the issue. Log indicate successful backups.
According to Restic documentation, something like b2:bucketname:path/to/repo should work. Try to add a colon at the end of your repository location so that restic_ynh can append /auto_wordpress to it.
That colon fixed the problem, thank you for reading the restic documentation more carefully than me (now I have some issue with backing up specific apps, but I will open a separate topic)