Bug 1059

Summary: scp should have an option to ignore symlinks
Product: Portable OpenSSH Reporter: Adrien Kunysz <A.Kunysz>
Component: scpAssignee: Assigned to nobody <unassigned-bugs>
Status: CLOSED FIXED    
Severity: enhancement CC: djm, juanramosgarcia
Priority: P5    
Version: -current   
Hardware: All   
OS: All   
URL: http://krunch.servebeer.com/~krunch/vrac/sw/scp-s.diff
Attachments:
Description Flags
patch to implement the -s flag none

Description Adrien Kunysz 2005-07-01 03:19:31 AEST
I think scp should have an option to ignore symlinks so it won't go into an
endless loop when copying circular links. I wrote a patch and I'll attach it
once the bug is created. This issue has already been discussed before and it was
made clear no modification should be done on the protocol but this option only
check if a file is a link and doesn't send it if it is one. Which means the
protocol remains unchanged.
Comment 1 Adrien Kunysz 2005-07-01 03:20:57 AEST
Created attachment 933 [details]
patch to implement the -s flag
Comment 2 Damien Miller 2006-07-12 11:21:34 AEST
Sorry, but adding a commandline option that is executed on the remote system *is* changing the protocol. 
Comment 3 Darren Tucker 2006-10-07 11:41:04 AEST
Change all RESOLVED bug to CLOSED with the exception of the ones fixed post-4.4.
Comment 4 Juan Ramos Garcia 2011-08-03 04:13:17 AEST
So, does that mean that no scp2 protocol is going to be created and scp is deprecated in favor of more modern protocols like SFTP?
Comment 5 Damien Miller 2018-06-01 14:43:56 AEST
scp is closed for feature additions; we'll still accept them for sftp though.
Comment 6 Damien Miller 2021-04-23 15:08:20 AEST
closing resolved bugs as of 8.6p1 release