LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Editing a file on a network using GUI (https://www.linuxquestions.org/questions/linux-newbie-8/editing-a-file-on-a-network-using-gui-553212/)

Four 05-11-2007 03:02 PM

Editing a file on a network using GUI
 
I connect to a server using ssh. Is there a way to edit files on the server using graphical programs such as kwrite?

Thanks

MS3FGX 05-11-2007 03:19 PM

Assuming X and associated software is installed on both machines, you can run the X application over the SSH link. You will need to make sure that the "ForwardX11" variable is enabled in the SSH server configuration as well.

Connect to the server with the command:
Code:

ssh -Y username@server
Then when you run an X application from the SSH session, the program's interface should display on the client machine. Though you might want to use something a little more simplistic than KWrite over SSH, something like gVim if possible.

galle 05-11-2007 04:14 PM

A different method I find easier and faster to use is Konqueror, if you are using KDE. In the address bar just type:
Code:

sftp://username@server

or

sftp://username@server:~/directory

and the location shows up as any local directory would, and double clicking a file works as normal. Might work in Gnome also, but I have never tried it there.

XavierP 05-11-2007 04:22 PM

You could also use
Code:

fish://<username>@<servername>
in Konqueror


All times are GMT -5. The time now is 08:21 PM.