ssh-deploy
ssh-deploy copied to clipboard
Feature: Delete Script After Execution
By default, when the TARGET_SOURCE is set to the current directory, all files are copied to the TARGET_DIR. This includes SCRIPT_BEFORE cmd if one was created. Over time, this process results in multiple local_ssh_script-before-* files cluttering up space on the host system.
This pull request addresses this issue by automatically deleting the remoteCmd script after execution.