JonMikelV Posted September 11, 2024 Posted September 11, 2024 I use SFTP connections for some backups and recently they ALL stopped working. Assuming this meant a server issue I reviewed my "Settings" -> "SSH" config and everything LOOKED fine but SFTP connections still return "inputstream is closed" and SSH connections result in: hostfile_replace_entries: link /root/.ssh/known_hosts to /root/.ssh/known_hosts.old: Operation not permitted update_known_hosts: hostfile_replace_entries failed for /root/.ssh/known_hosts: Operation not permitted I've tried the ssh-keyscan fix suggested elsewhere, but it doesn't seem to do anything (backup copy of known_hosts matches result of ssh-keyscan). ssh-keyscan -H TARGET_HOST >> ~/.ssh/known_hosts In all cases a `tail -f /var/log/syslog` shows "accepted password for <user> from <ip> port <numb> ssh2". I've tried enabling "Permit Root Login" in the SSH Settings page but that doesn't seem to make any difference. Thanks in advance for any suggestions on how to further debug / resolve this! 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.