Last Updated: February 25, 2016
·
445
· diegen

Show diff between local and remote file with SSH

ssh user@host "cat var/www/public_html/path/to/file/SomeFile.txt" | diff - "local/path/to/file/SomeFile.txt"