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://testuser@192.52.33.11//home/testuser/README.md scp://testuser@192.52.32.115//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