benjamin
asked Feb 27 2017
Answer
Lets assume that your remote machine has IPADDR1.
# vim scp://user@IPADDR1//home/test/Desktop/example.conf
In this command SCP had used instead of SSH. It will ask for the passwd and once its done the file could be edited directly from your local machine and save it.
jagannatharumugam
asked Mar 02 2017
edited Oct 05 2018
How to edit the file in remote server using vim editor
Instead of ssh to remote server and edit the respective file, is there any option to edit directly from my local machine to edit the file in remote machine. And i need to use vim editor.
Eg: I am having a file called example.conf in /home/test/Desktop/ in my remote machine. How to edit it from my local machine.