help use gedit to edit server files

Luis Paulo luis.barbas at gmail.com
Wed Apr 21 23:29:18 UTC 2010


On Wed, Apr 21, 2010 at 8:43 PM, Colin Law <clanlaw at googlemail.com> wrote:

>> I also have a mchine/server with no X.
>> I log with ssh and use nano to edit most files
>> To use graphical editors you have (?) to use them on your "work station",
>> synchronizing the files back to the server
>>
>> Synchronizing here being a loose term. There are several ways you can do
>> that, already discussed on this mailing list:
>> nfs, sshfs, ftp, rsync, cvs, ...
>>
>> And the easiest of them all, probably
>> Use nautilus, Places -> Connect to Server..., select SSH, enter ip and
>> user, click connect.
>> And you will be graphical browsing your server and editing files with
>> whatever tools you have on your workstation
>
> I think that is what the OP is doing, but the problem is that he
> cannot edit files that require sudo to edit them.

Right, for those you'll have to log as a user with write permissions

For example, log as root
Use nautilus, Places -> Connect to Server..., select SSH, enter ip,
enter "root" for user, click connect. You'll have to type root's
password on the remote machine, and it's all yours.

Regards
Luis




More information about the ubuntu-users mailing list