12

Tip #628   Edit a file on a remote host

You can directly edit a file on a remote host with the following:

vim scp://username@host//path/to/file

Of course you can use a different editor if you *really* want to ;)