Skip to content

Instantly share code, notes, and snippets.

@jotelha
Created July 22, 2019 08:17
Show Gist options
  • Save jotelha/50b97bdafa2375beea2aebbf81a7bf8a to your computer and use it in GitHub Desktop.
Save jotelha/50b97bdafa2375beea2aebbf81a7bf8a to your computer and use it in GitHub Desktop.
Vimdiff-related

Compare two remote files

vimdiff scp://[email protected]//home/testuser/README.md scp://[email protected]//home/testuser/README.md

In advance, start

 eval $(ssh-agent)
 ssh-add .ssh/my-key-file

if remote host requires authentication by key.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment