help-emacs-windows
[Top][All Lists]
Advanced

[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: Michael Albinus
Subject: [h-e-w] Re: Editing remote file on Linux machine using Emacs on Windows
Date: Thu, 10 Jun 2010 17:09:39 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

<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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]