Does anybody know what command a scheduled SFTP backup runs under the hood on a Spark appliance?
I have a new SFTP server. I'm specifically using SFTP instead of SCP so that I can harden the server more (take away CLI login from the backup users and jail them to a specific folder).
This is working perfectly on proper Gaia (using SSH keys), but Spark appliances only give me the option of username/password.
I've tested from the command line on a Spark, logging in and doing an SFTP PUT and it works perfectly, but when I use the same details in the scheduled backup, my SFTP server shows a successful login immediately followed by the session closing, and no backup file transferred.
I've got LogLevel=DEBUG3 set in my sshd conf file, but still it doesn't give me enough info to troubleshoot why the scheduled backup logs in then closes immediately. I don't see any attempt to try and transfer the file after the successful authentication.
Just wondered if anyone cleverer than me has any ideas?