get diff with remote file 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')