Tidy up SshTool

- Added option to retain script file for debugging
- Added ability to chown remote file when copied
- Tidy up formatting