https://bugzilla.mindrot.org/show_bug.cgi?id=3611
Bug ID: 3611 Summary: scp -r does not handle sym links to directories correctly Product: Portable OpenSSH Version: 8.7p1 Hardware: amd64 OS: Linux Status: NEW Severity: minor Priority: P5 Component: scp Assignee: unassigned-b...@mindrot.org Reporter: ryman...@hotmail.com Example: scp -r /tmp/dir1/ `hostname`:/tmp/scp /tmp/dir1/dir3 is not a regular file Uploading of file /tmp/dir1/dir3 to /tmp/scp/dir1/dir3 failed! failed to upload directory /tmp/dir1 to /tmp/scp/dir1 ls -lart /tmp/dir1/dir3 lrwxrwxrwx 1 root root 13 Sep 5 11:33 /tmp/dir1/dir3 -> ../dir2/dir3/ Works with -O: scp -O -r `hostname`:/tmp/dir1/ /tmp/scp abc I assume it has something to do with the new protocol. Apologies if this is already fix, but didn't find anything when I looked. Thanks -- You are receiving this mail because: You are watching the assignee of the bug. _______________________________________________ openssh-bugs mailing list openssh-bugs@mindrot.org https://lists.mindrot.org/mailman/listinfo/openssh-bugs