Although I have never tried this, it is possible to remotely edit the file in vim, as described here . In my specific case, access to the server that I need access to can only be accessed from the campus, so I need to log in to my university account like this:
ssh user@login.university.com
and then log in to the secure server as follows:
ssh user@secure.university.com
I have keyless ssh, so I can automate the process as follows:
ssh user@login.university.com -t "ssh user@secure.university.com"
In any case, to remotely edit the file, for example secure.university.com/user/foo.txton my local machine?
EDIT:
vim , ( .vim folder, copy .vimrc), ( vim , vim, ), vim , , . , - ( scp, )
vim scp://user@login.university.com scp://user@secure.university.com//home/user/foo.txt