Wednesday, July 14, 2010

Using Emacs Tramp with Dreamhost

I finally got Emacs 23.2.1 to work using Tramp, a remote editing utility, with my hosting provider, Dreamhost. The secret was to use plink, which connects to PuTTY, as the transport. I had been using Ange-Ftp, but it transmits passwords in the clear, which is not safe in today's world. Now I can edit files on my hosting site in the comfort of Emacs, knowing my password is encrypted. In my .emacs file:
(if (string= emacs-version "23.2.1")
(progn
(require 'tramp)
(setq tramp-default-method "plink")
(setq tramp-verbose 10)
(setq tramp-debug-buffer t)
)
)

1 comment:

Andy said...

Thanks, Mitch. Worked like a charm.