Skip to content

Can this library be used to stream data to an ssh command #416

Closed
@Mark-Pfeifer

Description

@Mark-Pfeifer

I've started working with this library and have successfully executed simple commands on my ssh server.

What I'd like to do, but haven't found a way yet, is to send information my program over an ssh connection that serves as the input to the command executing on the host.

For example, one could send a .tar file as the input to a tar extraction command running on the host. The Linux equivalent would be cat somefile.tar | ssh user@host tar xz -C /destination.

At this point, it doesn't look like any of your command execution allows input. Please correct me if I've missed something.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions