Skip to content

Use sftp to transfer files instead of dd#30

Open
rukai wants to merge 2 commits intoshotover:mainfrom
rukai:use_sftp
Open

Use sftp to transfer files instead of dd#30
rukai wants to merge 2 commits intoshotover:mainfrom
rukai:use_sftp

Conversation

@rukai
Copy link
Member

@rukai rukai commented Nov 6, 2023

Previously we used dd over ssh to transfer files, this mysteriously broke, so lets use a proper mechanism for this instead.
I've replaced the dd implementation with an sftp based implementation.

Implemented based on example at: https://github.com/AspectUnk/russh-sftp/blob/master/examples/client.rs

@rukai rukai force-pushed the use_sftp branch 2 times, most recently from d1e39bf to 29c80de Compare March 11, 2026 04:18
@rukai rukai marked this pull request as ready for review March 11, 2026 06:40
}

/// Push a file from the local machine to the remote machine
/// The created file will have permissions 0o777
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was always true

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.

1 participant