-
Couldn't load subscription status.
- Fork 16
Description
We should look into deprecating/dropping SCP support from SSHKit and instead implementing uploads and downloads in a different way.
The scp command is a historical protocol (called rcp) which relies upon that style of argument passing and encounters expansion problems. It has proven very difficult to add "security" to the scp model. All attempts to "detect" and "prevent" anomalous argument transfers stand a great chance of breaking existing workflows.
— https://lwn.net/Articles/835962/
The scp protocol is outdated, inflexible and not readily fixed. We recommend the use of more modern protocols like sftp and rsync for file transfer instead.