lhotari / action-upterm

Debug your GitHub Actions via SSH by using upterm/tmux to get access to the runner system itself.
MIT License
411 stars 34 forks source link

[Feature Request] Support SCP #10

Open a-b opened 2 years ago

a-b commented 2 years ago

It would be wonderful to scp files between the remote host and workstations.

lhotari commented 2 years ago

I have been using https://transfer.sh/ service to send files out of the GitHub Action VMs for further investigation. It's possible to use gpg to encrypt the files before sending if security is needed. transfer.sh contains examples of shell functions in the documentation.

I have used this type of shell functions (originally based on transfer.sh examples): https://github.com/lhotari/pulsar-contributor-toolbox/blob/8682b8502e0887d37955488b4a39fcd6d634eba6/functions/pulsar-contributor-toolbox-functions.sh#L643-L705

a-b commented 2 years ago

Thanks for sharing. Your wrapper obscuring x-url-delete header as result it's challenging to cleanup

lhotari commented 2 years ago

Your wrapper obscuring x-url-delete header as result it's challenging to cleanup

Please explain.