May 13, 20251 yr Community Expert Moin zusammen, in den Release-Notes zur 7.1.0 stand u.a. Folgendes: Quote Fix: On boot, custom ssh configuration copied from /boot/config/ssh/ to /etc/ssh/ again Damals in den Release-Notes zur 6.9.0 gab es "SSH Improvements": Quote There are changes in /etc/ssh/sshd_conf to improve security (thanks to @Mihai and @ljm42 for suggestions): only root user is permitted to login via ssh (remember: no traditional users in Unraid OS - just 'root') non-null password is now required. To set a password go to the Users tab (or Settings -> Users, depending on your configuration), then choose the "root" user, type a complex password twice and press CHANGE (not RESET) non-root tunneling is disabled In addition, upon upgrade we ensure the config/ssh/root directory exists on the USB flash boot device; and, we have set up a symlink: /root/.ssh to this directory. This means any files you might put into /root/.ssh will be persistent across reboots. So, if you had previously added commands to your go script to copy authorized_keys and other files to /root/.ssh, you should remove those commands and simply put the files in config/ssh/root, then reboot. Note: if you examine the sshd startup script /etc/rc.d/rc.sshd, upon boot all files from the config/ssh directory are copied to /etc/ssh (but not subdirs). The purpose is to restore the host ssh keys; however, this mechanism can be used to define custom ssh_conf and sshd_conf files. Auf einem meiner Server hole ich per curl (SFTP) nach dem Boot ein keyfile zum entschlüsseln der Datenträger. Seit 7.1.0 klappte das nicht mehr. Ich musste nun zunächst die "known_hosts" manuell erstellen. Landet dann ja unter /root/.ssh Diese "known_hosts" habe ich dann auf den Stick gesichert und wird vor dem curl-Befehl vom Stick zu /root/.ssh kopiert. Erst dann funktioniert der curl-Befehl wieder. Kann jemand sagen, ob die oben genannten Änderungen seit 7.1.x dieses "Problem" auslösen?
May 13, 20251 yr Solution 11 hours ago, saber1 said: Seit 7.1.0 klappte das nicht mehr. das war hier auch mal kurz, nächster Neustart / Update, ging es wieder (ohne neu host Datei zu setzen), nur als Info. und Nein, aktuell auf 7.1.2, alles ok
May 13, 20251 yr Author Community Expert 53 minutes ago, alturismo said: aktuell auf 7.1.2, alles ok Okay, habe das mal eben gecheckt: Befehle bezüglich Kopieren der known_hosts auskommentiert. Nun klappt es wieder wie zuvor. Am WE sicher einige Male probiert. Klappte nicht mehr. Nun gut, auch hier wieder alles in Ordnung (7.1.2). 55 minutes ago, alturismo said: das war hier auch mal kurz Hast Du eine Erklärung dafür? Magic?
May 14, 20251 yr 9 hours ago, saber1 said: Hast Du eine Erklärung dafür? Magic? da ich aktuell wenig Zeit habe und nicht nachgeschaut hatte, tendiere ich zu "Magic"
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.