GVim, one of the graphical versions of vim for X11, has a handy feature … you can edit remote files over ssh. Launch GVim, and issue the command:
:e scp://username@someremotehost/./path/to/file
where username is your username on the remote server, someremote host is the hostname or ip of the server and /./path/to/file is just that … the path to the file on the remove server. Everytime you save with :w, the changes get transfered.
When used in combination with ssh-keys to avoid typing your password every time, this can make editing remote files really quick and easy.
Trackback URL for this post: http://linuxblog.pansapiens.com/2008/07/13/edit-remote-files-over-ssh-scp-using-gvim/trackback/
Want your say?