3 ms·
I assume using `./*` rather than `.` in the `scp` command would have worked around the issue?
by zahlman 8mo ago
I assume using `./*` rather than `.` in the `scp` command would have worked around the issue?
- malicka 8mo agoYes, since it would’ve copied the globbed files, rather than the current directory itself.
- hrmtst93837 8mo ago[flagged]
- Biganon 8mo agoThe problem was not scp'ing the .ssh/ directory. The problem was scp'ing a directory whose permissions were 777, and "mapping" it (cannot find a better term) to a remote directory, which happened to be the home directory. The remote home directory therefore had its permissions changed to 777, which was deemed "too open" by openssh which refuses to use any file in it.