OS: Ubuntu 12.04
I was wondering if there are programs which let you edit a file on a remote server through ssh. Basically what I'm looking for is the following:
There is a remote AIX server that contains a certain file (a perl script i.e.) and I want to edit it from my native machine (my Ubuntu). Is there a program which lets me edit the file (by first giving the IP and password of the remote server) and save the file on the server?
Ofcourse I could just edit the file on the remote server, but I was wondering if there exists something like the NppFTP plugin for Notepad++ on Windows. It doesn't matter if it is terminal (nano i.e.) or gui.
Solution 1:
ssh -X user@server gedit file.txt
This doesn't work because gedit is not installed on the remote server
sudo
).