help use gedit to edit server files

Colin Law clanlaw at googlemail.com
Wed Apr 21 16:48:30 UTC 2010


2010/4/21 if-ifone <hellocyf at gmail.com>:
> In windows ,I use winscp edit ubuntu server file.with command sudo
> /../sftp-server to connect,and can edit server file.
> I want change my work station to ubuntu.use place->connect to server,set as
> ssh login.It can explore files.seems as
> local files.but cannt edit root files,lose powfull tools and this prevent
>  me switch php code to linux .
> I see some artitle advice install  X in server,this is not good ways,I will
> not install x on server.
> May be "connect to server" can add sudo command like winscp.so we can use
> gedit to edit Server files.

In a terminal you can use
ssh server_ip_or_name
which will log you into the server, then use
gksu gedit file_to_edit

No doubt there are other ways also.

Colin




More information about the ubuntu-users mailing list