Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- remote editor
- Oliver Block
June 7, 2006, 9:28 pm
rate this thread
when I work an a remote server, which has no x11, I usually use vi to edit
Now I was thinking, if there is any comfortable - and of course safe - way
to edit a script which is stored on a remote server, in a local x11 editor
like kate (kde) or emacs, without copying it manually. I wonder if this is
possible using ssh?
Do yo have any idea?
Re: remote editor
Hm, I'm not aware of a possibility to run emacs server and emacsclient
on different hosts - don't you mean that both emacs and emacsclient
should be run on the remote side? Or otherwise why the need for
tunneling X11 (which would only be used by emacs server)?
Anyway doing this (both remote) is a good solution I think, given
reasonable bandwidth/throughput on the connection, and I use it all the
time. The emacs startup over tunneled X11 is fairly slow, but actual
usage is OK, and server+emacsclient gets rid of the need for a startup
for every editing session.
However Oliver wrote that the remote "has no X11", which may make it a
non-option - you surely don't need a complete X11 installation, let
alone stuff like Gnome/KDE, but you do need the basic X11 libraries (and
of course an emacs built to use them).
Re: remote editor
You can google for "emacs ange-ftp ssh" - apparently there are a couple
of third-party solutions to make emacs' "builtin" ange-ftp (which allows
for mostly transparently editing remote files via ftp) use ssh instead
(I haven't tried any of them). I even came across an excerpt from the
emacs manual that said that ssh would be "builtin" and even used by
default, but that's definitely not the case with my version of emacs at
- » ssh on command line: force using a group size (prime size) of 1024 (and no...
- — Newest thread in » Secure Shell Forum