[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[h-e-w] RE: Editing remote file on Linux machine using Emacs on Windows
From: |
rajesh.jag |
Subject: |
[h-e-w] RE: Editing remote file on Linux machine using Emacs on Windows |
Date: |
Mon, 14 Jun 2010 18:46:55 +0530 |
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 address@hidden:/deep/path everytime I want a file.
Thanks!
Rajesh J Advani
-----Original Message-----
From: Michael Albinus [mailto:address@hidden
Sent: Thursday, June 10, 2010 8:40 PM
To: RAJESH J ADVANI(WT01 - Retail, CPG, Transportation & Government)
Cc: address@hidden; address@hidden; address@hidden
Subject: Re: Editing remote file on Linux machine using Emacs on Windows
<address@hidden> 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
> /address@hidden:/
>
> 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:address@hidden:/
> 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.