Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have SSH access to an Ubuntu server. Now I'd like to edit the files in some folder like


Is there any way that I can get an editor like Dreamweaver which can ssh to Ubuntu and files in that folder open up like FTP and I can edit and save them?

share|improve this question
Your approach is asking for trouble. Dreamweaver makes me assume you want to edit live content of a web site. Don't do that. Make a difference between the stable version that goes live and development version. Use a source code management system that will allow you to undo things easily if you screw up something. – Anonymous Mar 3 '10 at 10:09
up vote 1 down vote accepted

Even better, since you have SSH access you most likely be able to use SFTP, which means you should be able to mount your home directory on the server server locally. That way you can directly edit the files on the server as if they were files on your local hard drive, kind of.

Since you are talking about Dreamweaver I assume you are running Windows on your desktop computer? In that case you might want to take a look at ExpanDrive, which will give you a remote SFTP connection mounted as a drive letter.

share|improve this answer
thanks buddy that worked , but how can i loo with root account , because on terminal i have to use sudo and then edit the file and save it. how should i do it now – John Mar 3 '10 at 1:24
First of all, are you sure you need to mount using the root account? Another option might be to change the ownership of the folders you need to edit. That said, if you still need root login you can a) sudo password root b) place a ssh key inside /root/.ssh/authorized_keys – andol Mar 3 '10 at 1:54

You can use WinSCP or FileZilla to access the file via SCP (and also maybe SFTP). You download the file on your machine then you can edit it with any editor your heart desires. Once you're done, all you have to do is upload it back onto the server.

On a side note, you should consider learning how to use VIM which is the standard for Unix text editing.

share|improve this answer
No, scp and sftp is not the same thing. – andol Mar 3 '10 at 0:49
Indeed, but if one works, the other one will most likely work =) – Antoine Benkemoun Mar 3 '10 at 0:52

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.