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.
Bookmarks about Scp // Sep 26, 2008 at 8:45 pm
[...] – bookmarked by 3 members originally found by GaarasDesert on 2008-09-05 Edit remote files over SSH / SCP using GVim http://linuxblog.pansapiens.com/2008/07/13/edit-remote-files-over-ssh-scp-using-gvim/ – bookmarked [...]
Cool, thanks for this tip. Very useful!