Skip to content

Drop SCP #162

@pmeinhardt

Description

@pmeinhardt

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.

https://www.openssh.com/txt/release-8.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions