I figured out the issue by adding some debug logging to Sftp.php
If it's okay, I can create a pull request tomorrow - unless it's urgent and someone else needs to get to it sooner.
So, the issue is when the backup files are created remotely, they're named in all lowercase.
However, when the "fileprefix" is made for finding files based on the hostname, the search pattern is not made to lowercase.
Long story short, with this issue, if anyone's hostname has capital letters in it (which maybe isn't common) AND they are configured to include the hostname in the backup config filename, then it will never find the files when it runs the "ls" command in sftp.
Edit:
I should clarify, I didn't read the full post. My above is the solution to the "remote backup returned no files" error. Not to the identify key/permission issue.
If it's okay, I can create a pull request tomorrow - unless it's urgent and someone else needs to get to it sooner.
So, the issue is when the backup files are created remotely, they're named in all lowercase.
However, when the "fileprefix" is made for finding files based on the hostname, the search pattern is not made to lowercase.
Long story short, with this issue, if anyone's hostname has capital letters in it (which maybe isn't common) AND they are configured to include the hostname in the backup config filename, then it will never find the files when it runs the "ls" command in sftp.
Edit:
I should clarify, I didn't read the full post. My above is the solution to the "remote backup returned no files" error. Not to the identify key/permission issue.