Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add option to use scp instead of rsync in ManagedFile for syncing files to minimal targets #1399

Open
flxzt opened this issue May 8, 2024 · 0 comments

Comments

@flxzt
Copy link

flxzt commented May 8, 2024

Some embedded boards only have a minimal system only with core utilities available. So rsync cannot be used to sync files with them. But if there is ssh access (openssh, dropbear, ..) it is more likely that they have sftp implemented.

I am proposing to replace the rsync call (here) with scp or at least give the option to choose.

It can work in combination with providing ssh base args, as long as they all are converted to the config syntax with -o opt=val, e.g. -x becomes -o ForwardX11=no and so on.

an initial implementation can be found here: https://github.com/flxzt/labgrid/tree/ssh-put-file-scp

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

No branches or pull requests

1 participant