Edit a Remote File Using Vim
May 28, 2023 —
Gregg Szumowski
To edit a file remotely using the vim editor, just do the following in a terminal window:
$ scp://username@IP-address//path/to/file.txt
The user must have access to the file being edited.