Edit a Remote File Using Vim Gregg May 28, 2023 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. Cli Vim Scp Motd