apply diff via ssh code example
Example: diff remote file
diff <(ssh RemoteServer1 'cat /path/to/file') <(ssh RemoteServer2 'cat /path/to/file')
diff <(ssh RemoteServer1 'cat /path/to/file') <(ssh RemoteServer2 'cat /path/to/file')