Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(ssh.upload): fix wrong connection string when using use_remote_su…
…do and user (pyinfra-dev#623) Fixes the ssh connection string when setting the use_remote_sudo and user options for the ssh.upload operation Before: ```json [ "scp -P 22 local_filename [email protected]:_tempfile_", "ssh -p 22 test@[email protected] 'sudo mv _tempfile_ local_filename'" ] ``` After: ```json [ "scp -P 22 local_filename [email protected]:_tempfile_", "ssh -p 22 [email protected] 'sudo mv _tempfile_ local_filename'" ] ```
- Loading branch information