Skip to content

SSHConnection.copy() is actually copy_to_remote() #3401

@mih

Description

@mih

It will only use the connection to copy things to the remote host, and not from it to the local host. Given the nature of the matter (there is an existing connection to a single remote host in SSHConnection) it makes sense to me to add a sibling method that does the same as copy() (prefix the remote paths with the connection host), but for the source files. This would also need a rename of copy() to something like copy_to_remote(), so that the new method becomes copy_from_remote().

Metadata

Metadata

Assignees

No one assigned

    Labels

    fix-implementedA fix is available, but has not been merged or released, yet.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions