Thanks for the pointer. I had to upgrade to Tramp 2.1 (2.0 has issues with double prompts), but once I did, it pretty much worked out of the box.
I'll try to configure proxies next, as that way I won't have to type in the entire u...@server:/deep/path everytime I want a file. Thanks! Rajesh J Advani -----Original Message----- From: Michael Albinus [mailto:michael.albi...@gmx.de] Sent: Thursday, June 10, 2010 8:40 PM To: RAJESH J ADVANI(WT01 - Retail, CPG, Transportation & Government) Cc: gerald.j...@dgag.ca; kgold...@us.ibm.com; help-emacs-windows@gnu.org Subject: Re: Editing remote file on Linux machine using Emacs on Windows <rajesh....@wipro.com> writes: > I'd like to use ssh from Emacs directly. Anyone have any idea how? > I've tried setting tramp-default-method to "scp" and then using > /usern...@server:/ > > This just results in tramp waiting for the "remote prompt" for "60 > seconds". And then it just hangs until I hit C-g. How do I tell Emacs > where to find ssh? Sorry, I've never used tramp before. Tramp and Cygwin's ssh do not cooperate well (some pty problems, IIRC). So you might use PuTTY instead: /pscp:usern...@server:/ > What I liked about the emacsclient approach is that I would be able to > launch the editor directly from within scratchbox, rather than having > to memorize the location of that directory in the host system and ssh > to it. Something similar shall be configurable with Tramp's multi-hop. But here I would recommend Tramp 2.1, which is better suited (and which has a better performance). Emacs 22 comes with Tramp 2.0. Best regards, Michael.