SSH-DIFF(1) User Commands SSH-DIFF(1) (NAME) ssh-diff - SSH (SYNOPSIS) ssh-diff [OPTIONS] FILE [user@]hostname[:FILE] (DESCRIPTION) SSH . SSH . "CHECK_REMOTE_FILE_EXISTS=NO ssh-diff" DIFF (DIFF_OPTIONS) diff ( '-r'). 'man diff' 'diff --help' . SSH (SSH_OPTIONS) -4 IPv4 -6 IPv6 -p port . . (ENVIRONMENT) CHECK_REMOTE_FILE_EXISTS NO|YES (EXAMPLES) # ssh-diff /etc/hosts 192.168.1.10 ssh-diff /etc/hosts root@192.168.1.10 ssh-diff /etc/hosts root@192.168.1.10:/etc/hosts.old # (Side-by-Side) ssh-diff -y /etc/hosts 192.168.1.10 ssh-diff -y /etc/hosts root@192.168.1.10 ssh-diff -y /etc/hosts root@192.168.1.10:/etc/hosts.old # (Unified) ssh-diff -u /etc/hosts 192.168.1.10 ssh-diff -u /etc/hosts root@192.168.1.10 ssh-diff -u /etc/hosts root@192.168.1.10:/etc/hosts.old SSH-TOOLS March 2024 SSH-DIFF(1)