From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Lennart Borgman" Newsgroups: gmane.emacs.devel Subject: Fw: [h-e-w] Emacs and ssh Date: Sun, 20 Feb 2005 00:01:57 +0100 Message-ID: <002401c516d7$0d3e8cf0$0200a8c0@sedrcw11488> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1108854318 12781 80.91.229.2 (19 Feb 2005 23:05:18 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 19 Feb 2005 23:05:18 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Feb 20 00:05:17 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1D2der-0004vo-Ef for ged-emacs-devel@m.gmane.org; Sun, 20 Feb 2005 00:05:05 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D2dvU-0004ZJ-JT for ged-emacs-devel@m.gmane.org; Sat, 19 Feb 2005 18:22:16 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1D2dtv-0003wZ-Rt for emacs-devel@gnu.org; Sat, 19 Feb 2005 18:20:40 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1D2dtq-0003u4-Th for emacs-devel@gnu.org; Sat, 19 Feb 2005 18:20:36 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D2dtq-0003qc-Ko for emacs-devel@gnu.org; Sat, 19 Feb 2005 18:20:34 -0500 Original-Received: from [81.228.9.109] (helo=av3-1-sn3.vrr.skanova.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1D2dcI-0005SV-JG for emacs-devel@gnu.org; Sat, 19 Feb 2005 18:02:27 -0500 Original-Received: by av3-1-sn3.vrr.skanova.net (Postfix, from userid 502) id E5E4F37E49; Sun, 20 Feb 2005 00:02:25 +0100 (CET) Original-Received: from smtp1-2-sn3.vrr.skanova.net (smtp1-2-sn3.vrr.skanova.net [81.228.9.178]) by av3-1-sn3.vrr.skanova.net (Postfix) with ESMTP id D66EF37E44 for ; Sun, 20 Feb 2005 00:02:25 +0100 (CET) Original-Received: from sedrcw11488 (t5o58p146.telia.com [195.67.196.146]) by smtp1-2-sn3.vrr.skanova.net (Postfix) with SMTP id D91B538007 for ; Sun, 20 Feb 2005 00:02:24 +0100 (CET) Original-To: "Emacs Devel" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org X-MailScanner-To: ged-emacs-devel@m.gmane.org Xref: main.gmane.org gmane.emacs.devel:33637 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:33637 ----- Original Message ----- From: "geotal" To: "Michael Albinus" Cc: Sent: Saturday, February 19, 2005 11:39 PM Subject: Re: [h-e-w] Emacs and ssh > On Wed, 16 Feb 2005 22:47:02 +0100, Michael Albinus > 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 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: > > > > albinus@xxx.de'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 > .............Arghhhhhhhh] > > 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 host.com) 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. > > Geotal > > >