I assume using `./*` rather than `.` in the `scp` command would have worked around the issue?
Yes, since it would’ve copied the globbed files, rather than the current directory itself.
Yes, since it would’ve copied the globbed files, rather than the current directory itself.