One thing I will agree with is to stop using SCP.
https://www.brightblack.net/blog/2024-02-09-scp-was-deprecated/
It was deprecated a while back and older, but more experienced Unix wizards still suggest it. SFTP is an alternative, but rsync also works.