Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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?

share|improve this question
    
BTW, my .emacs file includes:(require 'tramp) (setq tramp-default-method "plink") or (setq tramp-default-method "ssh") –  Bryan Brown Oct 22 '12 at 18:05

1 Answer 1

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.