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

make scp_command modifiable #157

Merged
merged 2 commits into from
Jun 8, 2021
Merged

make scp_command modifiable #157

merged 2 commits into from
Jun 8, 2021

Conversation

dominiclondon
Copy link
Contributor

We sometimes need to put files into root perm directories, like /etc. Currently this requires putting the file to a temporary directory then moving the file. This PR allows for the scp_command to be modified so that you can run for example sudo scp, which provided the user has disabled sudo password prompt, allows for scping straight to a root perm directory.

I've left this as a hidden feature, that requires setting self.scp_command to work.

remram44 added a commit that referenced this pull request Jun 8, 2021
make scp_command modifiable
@remram44 remram44 merged commit 7e5559b into jbardin:master Jun 8, 2021
@remram44
Copy link
Collaborator

remram44 commented Jun 8, 2021

Looks good! Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants