tom233 Posted September 12, 2024 Posted September 12, 2024 Hallo, ich habe testweise Restic auf einer VM Dietpi ausprobiert. In der VM gibt es die Config Datei Host hs HostName 007.your-storagebox.de User 007 PubKeyAuthentication yes IdentityFile ~/.ssh/hetzner_storage1 Port 23 ServerAliveInterval 60 ServerAliveCountMax 240 Jetzt ist Restic über das Nerd Tool in Unraid, leider bekomme ich keine Verbindung über SFTP restic -r sftp:hs:/home/backup/restic snapshots Die Config Datei ist jetzt unter /boot/config/ssh/root/config Host hs HostName 007.your-storagebox.de User 007 PubKeyAuthentication yes IdentityFile /boot/config/ssh/root/hetzner_storage1 Port 23 ServerAliveInterval 60 ServerAliveCountMax 240 Unraid erkennt zwar die config mit den Angaben aber ich bekomme die Meldung das er die Datei hetzner_storage1 nicht findet. Aus Frust habe ich die known_host ( die Datei gab es vorher nicht ) gelöscht. Heute morgen habe ich einen neuen Versuch gestartet und die Known_Host wurde neu erstellt aber mit der Fehler -Meldung root@ostsee:~# restic -r sftp:hs:/home/backup/restic snapshots subprocess ssh: hostfile_replace_entries: link /root/.ssh/known_hosts to /root/.ssh/known_hosts.old: Operation not permitted subprocess ssh: update_known_hosts: hostfile_replace_entries failed for /root/.ssh/known_hosts: Operation not permitted enter password for repository: Vielen Dank thomas Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.