Please sign in to comment.
Correct shell escaping of special characters
We need to escape special characters twice: once for the local execution of the ssh command and once for the remote execution of the notifications script. For instance, printing a single quote through an ssh connection requires: ssh localhost echo \\\' Also include " (double quotes) in the list of special characters.
- Loading branch information...
Showing with 3 additions and 4 deletions.