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

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

[h-e-w] Emacs and ssh


From: Michael Albinus
Subject: [h-e-w] Emacs and ssh
Date: Wed, 16 Feb 2005 22:47:02 +0100
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/22.0.50 (gnu/linux)

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 xxx.de
ssh -v -e none -t -t -l albinus xxx.de
OpenSSH_3.9p1, OpenSSL 0.9.7e 25 Oct 2004
debug1: Connecting to xxx.de [xxx.xxx.xxx.xxx] 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 'xxx.de' 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.




reply via email to

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