[UFO Chicago] emacs and ssh combo

jordanb at hafd.org jordanb at hafd.org
Sun Mar 5 22:09:05 PST 2006


Brian Sobolak said:
>
> hey jordan --
>
> what is the name of program you run to use emacs over ssh?

Yes tramp.

If you have KeyAuth setup, all you should have to do is add something like
this to your .emacs:

(setq tramp-default-method "scp")

Then open the file with C-x C-f [enter] /foo.org:/path/to/file

Basically the conventions are the same as scp except you have to have a
slash "/" at the beginning.

If you want to use it with passwords you have to use inline ssh (setq
tramp-default-method "ssh") and have Unicode installed on each host. Tramp
will cash the password after the first use in a session.

Tramp tends to work pretty magically but can also have very difficult
bugs. I've been having trouble with it changing permissions on files with
is infurating.

-- 
Jordan Bettis -- Chicago Il.
  <http://neighborhoods.chicago.il.us>
    Photographs of Life in the Neighborhoods of Chicago
  <http://hafd.org/~jordanb/> Pretentious Weblog



More information about the ufo mailing list