I am trying to set up encrypted remote backups of my NAS but i am unable to get a repo connected via Borg backup.
I allready tried adding the keys via OMV-Gui and also did add the key to Borg using the: export BORG_RSH='ssh -i /etc/ssh/my_secure_server_key' command and still i am getting the error message:
500 - Internal Server Error Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; export LANGUAGE=; export BORG_PASSPHRASE='somepassphrase'; export BORG_UNKNOWN_UNENCRYPTED_REPO_ACCESS_IS_OK=yes; /usr/bin/borg init --encryption=keyfile 'ssh://user@server.com:23/./backups-folder' 2>&1' with exit code '2': Remote: Permission denied, please try again.
Remote: Permission denied, please try again.
Remote: user@server.com: Permission denied (publickey,password).
Connection closed by remote host. Is borg working on the server?
Is there some special location i have to put the keys in?
If someone has a solution i would be very thankful.