Since I has ssh access to a server stop unexpectedly, the post below caught my attention. It's an interesting quirk of scp.

Quoting: "Here's an interesting bug I ran into recently: After transferring some files to my server via scp, I couldn't log in via SSH anymore - my key was rejected by sshd:
- https://sny.sh/hypha/blog/scp

#sysadmin

Blog/Scp