Use Gedit as Remote File Editor via FTP and SSH (Ubuntu)
SHARE
Migrating from Windows Vista to Ubuntu 8.04 and have been using it all the way to 9.10, I am now a complete Linux convert. As a web developer, I am frequently required to edit files on remote servers. Without some kind of mechanism to automate the upload process, it becomes laborious as number of files grows. On Windows system I use Notepad++ and itsFTP plugin to edit remote files, which work pretty well.
Now I am using Ubuntu, I have to find a similar editor to accomplish this. After some investigation, I found that the bundled text editor gedit is capable of doing remote file editing – but not without some tricks. In the rest of the article I am going to show you how to do this.
Table of Contents hide]
Step 1: Connect to a Remote Server
If you are promoted to enter a password, enter it and choose a password option that fits your need. They are self-explanatory.
Step 2: Editing Remote File
Gedit is a very powerful text editor. In my option it is as feature-rich as Notepad++. Syntax highlighting, bracket matching, automatic indentation are the features I find the most useful to me. I use the following preferences to make gedit the programmer's perfect text editor:
Another tip is that you can narrow the file list in the side panel by applying filter. For example at bottom of the side panel, if you enter “*.php” in the “Match Filename” text box, the side panel now will only show PHP files.
Once again thanks for reading.