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

Reply via email to