Never thought id have so much trouble with the Auto Backup addon

Been fighting with this addon to work with the keys so I can transfer my bacup to a share on my unraid box. i used the ssh addon to make the keys. I then copied the .pub file to the unraid box at ~/.ssh/authroized_keys. I then copy and pasted the long Rsa private key into the add on config but every single time I get this error

Adding SSH key
Creating local backup: “Automated backup 2019-06-01 14:44”
Backup created: 6d54e496
Copying 6d54e496.tar to /mnt/user/pcbackup/homeassistant on 192.168.0.50 using SCP
Warning: Permanently added ‘192.168.0.50’ (ECDSA) to the list of known hosts.
Load key “/root/.ssh/id”: invalid format
Permission denied, please try again.
Permission denied, please try again.
[email protected]: Permission denied (publickey,password,keyboard-interactive).
lost connection

I have even tried making keys in other ways with no luck. Does anyone have an idea what to do?