Here's another really handy one liner for diff-ing files across servers using process substitution. This seems to work in zsh and bash.

diff /a/file/ <(ssh anotherserver 'cat /a/file/')