[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [h-e-w] Emacs and ssh

From: geotal
Subject: Re: [h-e-w] Emacs and ssh
Date: Sat, 19 Feb 2005 14:39:26 -0800

On Wed, 16 Feb 2005 22:47:02 +0100, Michael Albinus
<address@hidden> wrote:
> Hello,
> I'ld like to start Cygwin ssh from Emacs *shell* buffer (recent Emacs
> 21.3.50 from sourceforge/nqmacs). Unfortunately, Emacs under Windows
> doesn't provide a tty; that's why I've used "ssh -t -t":
> Microsoft Windows XP [Version 5.1.2600]
> (C) Copyright 1985-2001 Microsoft Corp.
> d:\>ssh -v -e none -t -t -l albinus
> ssh -v -e none -t -t -l albinus
> OpenSSH_3.9p1, OpenSSL 0.9.7e 25 Oct 2004
> debug1: Connecting to [] port 22.
> debug1: Connection established.
> debug1: identity file /cygdrive/c/Dokumente und 
> Einstellungen/Michael/.ssh/identity type -1
> debug1: identity file /cygdrive/c/Dokumente und 
> Einstellungen/Michael/.ssh/id_rsa type -1
> debug1: identity file /cygdrive/c/Dokumente und 
> Einstellungen/Michael/.ssh/id_dsa type -1
> debug1: Remote protocol version 1.5, remote software version 1.2.25
> debug1: no match: 1.2.25
> debug1: Local version string SSH-1.5-OpenSSH_3.9p1
> debug1: Waiting for server public key.
> debug1: Received server public key (768 bits) and host key (1024 bits).
> debug1: Host '' is known and matches the RSA1 host key.
> debug1: Found key in /cygdrive/c/Dokumente und 
> Einstellungen/Michael/.ssh/known_hosts:1
> debug1: Encryption type: 3des
> debug1: Sent encrypted session key.
> debug1: Installing crc compensation attack detector.
> debug1: Received encrypted confirmation.
> debug1: Doing password authentication.
> That's it. Using a cygwinized Emacs, also 21.3.50, it works. Same
> output as above, but password query is shown next line:
> address@hidden's password: xxx
> debug1: Requesting pty.
> debug1: Requesting shell.
> debug1: Entering interactive session.
> debug1: fd 0 clearing O_NONBLOCK
> What do I need to run it in Emacs outside Cygwin? Any option or
> environment variable to be used?
> Thanx for any hint, Michael.

[I swear I had tramp working with ntemacs a few months back

I too use the same version of emacs and use the latest ssh from cygwin
and when I issue
the same command (ssh -v -e none -t -t within the shell
buffer at the end
I get these messages, and it hungs:
debug1: Authentication succeeded (publickey).
debug1: channel 0: new [client-session]
debug1: Entering interactive session.
tcgetattr: Inappropriate ioctl for device

Any help is appreciated.


reply via email to

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