Not sure. This was something that were were casually chatting about and comparing notes on other but related topics.
The problem had been noticed on CentOS servers where files were trying to be moved across the internet to another server. This is normally done with a common utility called “scp” and requires there to be secret keys traded between servers and set in config files so they can cooperate with the file move across the internet.
We had noticed that even thought the secret keys were correctly in place (and the transfer would work when done manually from a ssh console) the OS would not allow the file to move when there was not an active login via ssh. In other words, it could not happen automatically via a scheduler. The error logs kept hinting that there was a permission problem with regard to the process being allowed to use the secret keys.
We abandoned the CentOS platform and moved to Ubuntu and the problem went away. Since all of the servers are cloud VPS it really didn’t matter to me what the OS was as long as I got the result I needed.
Again, this was just casual conversation from quite some time ago and I thought I would at least pass along some places to start looking. This may or may not apply to your situation.
I hope you find your own solution.