From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.devel Subject: Tramp & Cygwin (was: Emacs unconditionally loads tramp.el) Date: Sun, 30 Apr 2006 08:50:49 +0200 Message-ID: <8764krsgja.fsf_-_@gmx.de> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1146379865 2454 80.91.229.2 (30 Apr 2006 06:51:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 30 Apr 2006 06:51:05 +0000 (UTC) Cc: Drew Adams , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Apr 30 08:51:03 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Fa5ll-0006iR-Rv for ged-emacs-devel@m.gmane.org; Sun, 30 Apr 2006 08:51:02 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fa5ll-0004Au-4X for ged-emacs-devel@m.gmane.org; Sun, 30 Apr 2006 02:51:01 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Fa5lZ-0004AC-44 for emacs-devel@gnu.org; Sun, 30 Apr 2006 02:50:49 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Fa5lY-00049K-7T for emacs-devel@gnu.org; Sun, 30 Apr 2006 02:50:48 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fa5lY-000493-0q for emacs-devel@gnu.org; Sun, 30 Apr 2006 02:50:48 -0400 Original-Received: from [213.165.64.20] (helo=mail.gmx.net) by monty-python.gnu.org with smtp (Exim 4.52) id 1Fa5p4-00058y-JN for emacs-devel@gnu.org; Sun, 30 Apr 2006 02:54:26 -0400 Original-Received: (qmail invoked by alias); 30 Apr 2006 06:50:46 -0000 Original-Received: from p54BDB9A0.dip0.t-ipconnect.de (EHLO localhost.local) [84.189.185.160] by mail.gmx.net (mp035) with SMTP; 30 Apr 2006 08:50:46 +0200 X-Authenticated: #3708877 Original-To: Jason Rumney In-Reply-To: (Jason Rumney's message of "Sat, 29 Apr 2006 23:49:48 +0100") User-Agent: Gnus/5.110005 (No Gnus v0.5) Emacs/22.0.50 (gnu/linux) X-Y-GMX-Trusted: 0 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 Xref: news.gmane.org gmane.emacs.devel:53643 Archived-At: Jason Rumney writes: > "Drew Adams" writes: > >> The thing I find annoying is I've never been able to get it to work on MS >> Windows - I need to be able to get to a GNU/Linux box from Emacs on Windows, >> but I was never able to log in with Tramp. Kai Grossjohann spent some time >> trying to help me get it to work over a year ago, but we never succeeded in >> understanding the problem. I gave up. Perhaps I'll try again after the >> release comes out.... > > There are "plink" methods for working with PuTTY's command-line > terminal. I think Cygwin's ssh port expects to be run from an > interactive Cygwin bash shell, so doesn't work well under Emacs. I've spent several weeks trying to make Tramp running with Cygwin's ssh. Finally I gave up, because I didn't find a way to cooperate with their pseudo tty. Starting Cygwin's bash first, and afterwards ssh from there, doesn't work either, IIRC. A "cygwinized Emacs", i.e. built under Cygwin, doesn't suffer from this problem. Another workaround is ssh-agent, because the only hurdle to pass is the interactive passphrase handover to the shell starting ssh. Note that I'm neither an expert in MS Windows nor in Cygwin, just a very occasional user. Some people tried to help, also w/o success. Because this belongs to the top list of "Tramp's annoyances", I would appreciate any new idea what to do. Best regards, Michael.