From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 16 23:02:29 2012 Received: (at submit) by debbugs.gnu.org; 17 Jan 2012 04:02:29 +0000 Received: from localhost ([127.0.0.1]:60940 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rn0Ff-0002wa-JP for submit@debbugs.gnu.org; Mon, 16 Jan 2012 23:02:28 -0500 Received: from eggs.gnu.org ([140.186.70.92]:36459) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rn0FZ-0002wI-Oi for submit@debbugs.gnu.org; Mon, 16 Jan 2012 23:02:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rn0Ec-0001rz-OV for submit@debbugs.gnu.org; Mon, 16 Jan 2012 23:01:23 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_00, FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, T_DKIM_INVALID autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([140.186.70.17]:36988) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rn0Ec-0001rv-N2 for submit@debbugs.gnu.org; Mon, 16 Jan 2012 23:01:22 -0500 Received: from eggs.gnu.org ([140.186.70.92]:33464) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rn0Ea-0002H5-Sy for bug-gnu-emacs@gnu.org; Mon, 16 Jan 2012 23:01:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rn0EZ-0001rO-Dv for bug-gnu-emacs@gnu.org; Mon, 16 Jan 2012 23:01:20 -0500 Received: from mail-gx0-f169.google.com ([209.85.161.169]:35729) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rn0EZ-0001rK-AR for bug-gnu-emacs@gnu.org; Mon, 16 Jan 2012 23:01:19 -0500 Received: by ggnp4 with SMTP id p4so3431194ggn.0 for ; Mon, 16 Jan 2012 20:01:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :content-type:content-transfer-encoding; bh=Q7axMla5o02+GBQNBIk+UjMZmcq+BYZtIfzh3PiY/fE=; b=pJwBWQevZRw1EAmKbPrW7zAxGJvA5agFbpPmULlF3M2rxnNCW3P+HU0/ZAOkDeQft6 PzoNsFVNWZvuuRllY0sZ/AGk9Z2w7JESFdAqj+NeRR9/vwKjSmjB+QtggSvKgxyQ9ShA maYW/eHFHJZqQHJVvVgkdoaYXiwwIdKacYR3o= Received: by 10.236.124.105 with SMTP id w69mr20931707yhh.31.1326772878415; Mon, 16 Jan 2012 20:01:18 -0800 (PST) Received: from [192.168.1.2] (71-208-70-183.hlrn.qwest.net. [71.208.70.183]) by mx.google.com with ESMTPS id r68sm34203012yhm.18.2012.01.16.20.01.16 (version=SSLv3 cipher=OTHER); Mon, 16 Jan 2012 20:01:17 -0800 (PST) Message-ID: <4F14F289.5040506@gmail.com> Date: Mon, 16 Jan 2012 21:01:13 -0700 From: Christoph Scholtes User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0) Gecko/20111222 Thunderbird/9.0.1 MIME-Version: 1.0 To: bug-gnu-emacs@gnu.org Subject: 24.0.92; tramp does not connect when username is not specified with plink Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -3.2 (---) X-Debbugs-Envelope-To: submit Cc: Michael Albinus X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.2 (---) With Emacs trunk r106887 on Windows 7 I use tramp to connect to a remote machine via plink v0.62. My tramp configuration: (require 'tramp) (setq tramp-default-method "plink") (setq tramp-verbose 6) (setq tramp-debug-buffer t) When I access the file as follows C-x-f, then /localhost#2222: tramp asks for a username and the a password. Then the password prompt keeps popping up over and over again. It never establishes a connection it seems. I have to abort with C-g. When I access the file like this C-x-f, then /cschol@localhost#2222: it asks for a passwords and connects right away. Michael, please let me know what kind of information I can provide to help debug this. Thank you. In GNU Emacs 24.0.92.1 (i386-mingw-nt6.1.7601) of 2012-01-16 on MARVIN Windowing system distributor `Microsoft Corp.', version 6.1.7601 configured using `configure --with-gcc (4.6) --no-opt --cflags -ID:/devel/emacs/libs/libXpm-3.5.8/include -ID:/devel/emacs/libs/libXpm-3.5.8/src -ID:/devel/emacs/libs/libpng-dev_1.4.3-1/include -ID:/devel/emacs/libs/zlib-dev_1.2.5-2/include -ID:/devel/emacs/libs/giflib-4.1.4-1/include -ID:/devel/emacs/libs/jpeg-6b-4/include -ID:/devel/emacs/libs/tiff-3.8.2-1/include -ID:/devel/emacs/libs/gnutls-3.0.9/include --ldflags -LD:/devel/emacs/libs/gnutls-3.0.9/lib' From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 17 06:24:09 2012 Received: (at 10530) by debbugs.gnu.org; 17 Jan 2012 11:24:09 +0000 Received: from localhost ([127.0.0.1]:32986 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rn793-0005bw-Di for submit@debbugs.gnu.org; Tue, 17 Jan 2012 06:24:09 -0500 Received: from mailout-de.gmx.net ([213.165.64.23]:44281) by debbugs.gnu.org with smtp (Exim 4.72) (envelope-from ) id 1Rn78x-0005bO-Ca for 10530@debbugs.gnu.org; Tue, 17 Jan 2012 06:24:04 -0500 Received: (qmail invoked by alias); 17 Jan 2012 11:22:58 -0000 Received: from p57BB97A1.dip0.t-ipconnect.de (EHLO detlef.gmx.de) [87.187.151.161] by mail.gmx.net (mp009) with SMTP; 17 Jan 2012 12:22:58 +0100 X-Authenticated: #3708877 X-Provags-ID: V01U2FsdGVkX18MwlwXmQ4MOlDZaLi54KKHKaHg6qXL+d/vNpUWBI mqzo6ifNMZFGDy From: Michael Albinus To: Christoph Scholtes Subject: Re: bug#10530: 24.0.92; tramp does not connect when username is not specified with plink References: <4F14F289.5040506@gmail.com> Date: Tue, 17 Jan 2012 12:22:54 +0100 In-Reply-To: <4F14F289.5040506@gmail.com> (Christoph Scholtes's message of "Mon, 16 Jan 2012 21:01:13 -0700") Message-ID: <8762gak1yp.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Y-GMX-Trusted: 0 X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 10530 Cc: 10530@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) Christoph Scholtes writes: Hi Christoph, > When I access the file as follows > > C-x-f, then /localhost#2222: > > tramp asks for a username and the a password. Then the password prompt > keeps popping up over and over again. It never establishes a connection > it seems. I have to abort with C-g. > > Michael, > please let me know what kind of information I can provide to help debug > this. Thank you. It's an eol issue. I have committed a fix to the trunk. Could you, please, check? Best regards, Michael. From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 17 21:12:00 2012 Received: (at 10530) by debbugs.gnu.org; 18 Jan 2012 02:12:00 +0000 Received: from localhost ([127.0.0.1]:34024 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RnL0K-0002g0-Aw for submit@debbugs.gnu.org; Tue, 17 Jan 2012 21:12:00 -0500 Received: from mail-gx0-f172.google.com ([209.85.161.172]:64062) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RnL0I-0002ft-2W for 10530@debbugs.gnu.org; Tue, 17 Jan 2012 21:11:59 -0500 Received: by ggnr5 with SMTP id r5so3517871ggn.3 for <10530@debbugs.gnu.org>; Tue, 17 Jan 2012 18:10:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=0zj9QAIr6W3zy6QTvOLC/6MJHrpU+48+LflKjIxiSK8=; b=AbW0FyfiztmSeoS8uLzOVaFHI4K5TqeNesaD/7YuqdKZ//Fj5qcLdFC5Q4BGrqX+Iz rzPV6VVH28r0CfOcUVJFQtvpne0TCpannPzLCRPEkvsxQD1mBRHSMwOA99lbg5HXMbtO AALKziHTASV4JO0FDZlgMI4BkXq+YCyOuvs2c= Received: by 10.101.148.18 with SMTP id a18mr6146195ano.84.1326852654556; Tue, 17 Jan 2012 18:10:54 -0800 (PST) Received: from [192.168.1.3] (71-208-70-183.hlrn.qwest.net. [71.208.70.183]) by mx.google.com with ESMTPS id f47sm39977969yhh.8.2012.01.17.18.10.52 (version=SSLv3 cipher=OTHER); Tue, 17 Jan 2012 18:10:53 -0800 (PST) Message-ID: <4F162A29.9090905@gmail.com> Date: Tue, 17 Jan 2012 19:10:49 -0700 From: Christoph Scholtes User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0) Gecko/20111222 Thunderbird/9.0.1 MIME-Version: 1.0 To: Michael Albinus Subject: Re: bug#10530: 24.0.92; tramp does not connect when username is not specified with plink References: <4F14F289.5040506@gmail.com> <8762gak1yp.fsf@gmx.de> In-Reply-To: <8762gak1yp.fsf@gmx.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 10530 Cc: 10530@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.3 (--) Hallo Michael, On 1/17/2012 4:22 AM, Michael Albinus wrote: > It's an eol issue. I have committed a fix to the trunk. Could you, > please, check? It now connects. I see the prompt of the remote shell in the debug log, but then it asks me again for a password with my username reset to my default username and port, i.e. Christoph@localhost. Snippet from debug log: 18:54:29.900000 tramp-process-actions (6) # cschol@localhost's password: Linux debian 3.1.0-1-486 #1 Tue Jan 10 04:55:10 UTC 2012 i686 [snip, some welcome message stuff] ]0;cschol@debian: ~cschol@debian:~$ 18:54:29.903000 tramp-maybe-open-connection (3) # Found remote shell prompt on `localhost' 18:54:29.903000 tramp-open-shell (5) # Opening remote shell `/bin/sh'... 18:54:29.904000 tramp-send-command (6) # exec env ENV='' PROMPT_COMMAND='' PS1=\#\$\ PS2='' PS3='' /bin/sh 18:54:30.031000 tramp-send-command (6) # PS1=\#\$\ 18:54:30.085000 tramp-send-command (6) # PS2='' 18:54:30.139000 tramp-send-command (6) # PS3='' 18:54:30.207000 tramp-send-command (6) # PROMPT_COMMAND='' 18:54:30.263000 tramp-open-shell (5) # Opening remote shell `/bin/sh'...done 18:54:30.263000 tramp-open-connection-setup-interactive-shell (5) # Setting up remote shell environment 18:54:30.263000 tramp-send-command (6) # stty -inlcr -echo kill '^U' erase '^H' 18:54:30.317000 tramp-send-command (6) # echo foo 18:54:30.371000 tramp-open-connection-setup-interactive-shell (5) # Setting shell prompt 18:54:30.371000 tramp-send-command (6) # PS1=///4fc24703080ea6a218e7e620ade61c8c\#\$ 18:54:30.427000 tramp-send-command (6) # PS2='' 18:54:30.482000 tramp-send-command (6) # PS3='' 18:54:30.538000 tramp-send-command (6) # PROMPT_COMMAND='' 18:54:30.593000 tramp-open-connection-setup-interactive-shell (5) # Determining coding system 18:54:30.593000 tramp-send-command (6) # echo foo ; echo bar 18:54:30.649000 tramp-open-connection-setup-interactive-shell (5) # Setting coding system to `undecided-dos' and `iso-latin-1-unix' 18:54:30.650000 tramp-send-command (6) # set +o vi +o emacs 18:54:30.705000 tramp-open-connection-setup-interactive-shell (5) # Checking system information 18:54:30.706000 tramp-send-command (6) # echo \"`uname -sr`\" 2>/dev/null; echo tramp_exit_status $? 18:54:30.774000 tramp-open-connection-setup-interactive-shell (5) # Checking remote host type for `send-process-string' bug 18:54:30.775000 tramp-set-remote-path (5) # Setting $PATH environment variable 18:54:30.775000 tramp-send-command (6) # echo \"`getconf PATH 2>/dev/null`\" 2>/dev/null; echo tramp_exit_status $? This is where it hangs until C-g. Again, with C-x-f /cschol@localhost#2222: it works fine. Thanks for your help. Christoph From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 18 07:34:58 2012 Received: (at 10530) by debbugs.gnu.org; 18 Jan 2012 12:34:58 +0000 Received: from localhost ([127.0.0.1]:34187 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RnUjB-0001XX-Pt for submit@debbugs.gnu.org; Wed, 18 Jan 2012 07:34:58 -0500 Received: from mailout-de.gmx.net ([213.165.64.22]:51125) by debbugs.gnu.org with smtp (Exim 4.72) (envelope-from ) id 1RnUj8-0001XO-Lf for 10530@debbugs.gnu.org; Wed, 18 Jan 2012 07:34:56 -0500 Received: (qmail invoked by alias); 18 Jan 2012 12:33:46 -0000 Received: from p57BB9729.dip0.t-ipconnect.de (EHLO detlef.gmx.de) [87.187.151.41] by mail.gmx.net (mp032) with SMTP; 18 Jan 2012 13:33:46 +0100 X-Authenticated: #3708877 X-Provags-ID: V01U2FsdGVkX1/I0P9HkQnIJF/iB3Qd2yBjskaRP55MXhiOWo0zc6 KDuU/6bRLozxMX From: Michael Albinus To: Christoph Scholtes Subject: Re: bug#10530: 24.0.92; tramp does not connect when username is not specified with plink References: <4F14F289.5040506@gmail.com> <8762gak1yp.fsf@gmx.de> <4F162A29.9090905@gmail.com> Date: Wed, 18 Jan 2012 13:33:42 +0100 In-Reply-To: <4F162A29.9090905@gmail.com> (Christoph Scholtes's message of "Tue, 17 Jan 2012 19:10:49 -0700") Message-ID: <87lip58a1l.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Y-GMX-Trusted: 0 X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 10530 Cc: 10530@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) Christoph Scholtes writes: > Hallo Michael, Hi Christoph, > It now connects. I see the prompt of the remote shell in the debug > log, but then it asks me again for a password with my username reset > to my default username and port, i.e. Christoph@localhost. > > Snippet from debug log: Neither I see a new password request, nor I see a connection as user "Christoph". And it did some initialization actions, until it hung. Unfortunately, you haven't shown the whole trace, which makes it hard to follow the complete flow inside Tramp. Could you, please, rerun a clean test: - Stop Emacs - Remove file ~/.emacs.d/tramp (which keeps cached values) - Start "emacs -Q" - Make your settings, like (setq tramp-verbose 6) - Rerun your test - Show the complete debug buffer If the debug buffer contains sensitive information, you could send it off-list. It doesn't contain passwords, 'tho. > Thanks for your help. > > Christoph Best regards, Michael. From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 23 02:39:18 2012 Received: (at 10530-done) by debbugs.gnu.org; 23 Jan 2012 07:39:18 +0000 Received: from localhost ([127.0.0.1]:40445 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RpEUn-00055n-AU for submit@debbugs.gnu.org; Mon, 23 Jan 2012 02:39:18 -0500 Received: from mailout-de.gmx.net ([213.165.64.23]:58843) by debbugs.gnu.org with smtp (Exim 4.72) (envelope-from ) id 1RpEUk-00055X-0M for 10530-done@debbugs.gnu.org; Mon, 23 Jan 2012 02:39:15 -0500 Received: (qmail invoked by alias); 23 Jan 2012 07:38:54 -0000 Received: from p57BB9765.dip0.t-ipconnect.de (EHLO detlef.gmx.de) [87.187.151.101] by mail.gmx.net (mp067) with SMTP; 23 Jan 2012 08:38:54 +0100 X-Authenticated: #3708877 X-Provags-ID: V01U2FsdGVkX1+VkC0aRbqVCLBfW1z+j7u8AKu7zb2f+/SZOWwYHg W8FhJrqmHCFpGK From: Michael Albinus To: Christoph Scholtes Subject: Re: bug#10530: 24.0.92; tramp does not connect when username is not specified with plink References: <4F14F289.5040506@gmail.com> <8762gak1yp.fsf@gmx.de> <4F162A29.9090905@gmail.com> <87lip58a1l.fsf@gmx.de> <4F17AE06.8030102@gmail.com> <8739bcvxrw.fsf@gmx.de> <4F18194F.3040505@gmail.com> <87vco5owuv.fsf@gmx.de> <4F1AFABF.8040702@gmail.com> <87pqecq5ys.fsf@gmx.de> <4F1B1C80.1040208@gmail.com> <87k44kpzjy.fsf@gmx.de> <87lioz6gik.fsf@gmx.de> <4F1C7E78.3020702@gmail.com> Date: Mon, 23 Jan 2012 08:38:50 +0100 In-Reply-To: <4F1C7E78.3020702@gmail.com> (Christoph Scholtes's message of "Sun, 22 Jan 2012 14:24:08 -0700") Message-ID: <87ehuqswad.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Y-GMX-Trusted: 0 X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 10530-done Cc: 10530-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) Christoph Scholtes writes: > On 1/22/2012 5:58 AM, Michael Albinus wrote: > >> I've committed a patch to the trunk, which ought to implement this. Could >> you, please, check? > > Works great. Thank you very much for working on this. The bug report > can be closed. Done. > Christoph Best regards, Michael. From unknown Fri Aug 08 22:53:34 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 20 Feb 2012 12:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator