openssh-clients-3.9p1-7 It would be handy if scp took an argument similar to cp's --no-dereference, to allow it to preserve symbolic links. That way, it'd be easy to replicate a directory/file structure with links intact, from machine to machine. Currently, you have to do something like the following (arguably non-intuititve, certainly less convenient) workaround. tar -cf - /source | ssh hostname.domain tar -xf - -C /destination
Or use rsync...
as in ... rsync -avze ssh \ username@hostname:/name/of/directory/to/copy/from/ \ /name/of/directory/to/copy/to/ or ... rsync -avze ssh \ /name/of/directory/to/copy/from/ \ username@hostname:/name/of/directory/to/copy/to/ rsync is great!!
Sorry but this was rejected upstream as it would break the rcp/scp protocol. Use sftp or rsync.