Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

ssh sftp Passwordless Key Datei wird nicht erkannt / known_hosts

Featured Replies

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

 

 

 

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.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.