Portable Emacs TRAMP problems

2

I put NT Emacs on a usb drive so that I could use it on my University library's Windows machines on days where I can't bring my linux laptop with me. Most of my work involves editing files remotely on a Red Hat server that only allows secure connections (scp/ssh). On my laptop, TRAMP mode has never failed.

I set the default method in the .emacs file to use ssh. However, on the Windows machines I can't get NT Emacs to correctly log in. All of the Windows machines have PuTTY installed, so I have tried setting the tramp default mode to both "ssh" and "plink", but every time I try to remotely edit a file it says "opening FTP connection" and hangs indefinitely. I am assuming that it is hanging because the server is not accepting the (unsecure) FTP connection, even though I told it to use ssh or plink.

Can anyone help me with this?

Bryan Brown

Posted 2012-10-22T18:03:26.437

Reputation: 21

BTW, my .emacs file includes:(require 'tramp) (setq tramp-default-method "plink") or (setq tramp-default-method "ssh") – Bryan Brown – 2012-10-22T18:05:03.250

Answers

0

For some reason emacs under windows doesn't try using TRAMP when you use the normal format. You have to explicitly use the tramp format which is: /[ transport / name@site#port ] filename

note that the square brackets are required and remove the spaces.

Loial

Posted 2012-10-22T18:03:26.437

Reputation: 1