Skip to content

Conversation

blenderfreaky
Copy link

See #802.

This adds two methods SshCommand.SendData that expose SshCommand._channel.SendDatas two overloads.

No tests yet, not quite sure how to test this.

@blenderfreaky
Copy link
Author

I've added a test using cat - to mirror the stdin back to stdout.
It currently uses a random to test bigger amounts of random data, I'm not sure if this is optimal. Suggestions are welcome

@Rob-Hague
Copy link
Collaborator

Closing since a similar change was done in #1293. Thanks

@Rob-Hague Rob-Hague closed this May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants