* bug#10530: 24.0.92; tramp does not connect when username is not specified with plink
@ 2012-01-17 4:01 Christoph Scholtes
2012-01-17 11:22 ` Michael Albinus
0 siblings, 1 reply; 5+ messages in thread
From: Christoph Scholtes @ 2012-01-17 4:01 UTC (permalink / raw)
To: 10530; +Cc: Michael Albinus
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'
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#10530: 24.0.92; tramp does not connect when username is not specified with plink
2012-01-17 4:01 bug#10530: 24.0.92; tramp does not connect when username is not specified with plink Christoph Scholtes
@ 2012-01-17 11:22 ` Michael Albinus
2012-01-18 2:10 ` Christoph Scholtes
0 siblings, 1 reply; 5+ messages in thread
From: Michael Albinus @ 2012-01-17 11:22 UTC (permalink / raw)
To: Christoph Scholtes; +Cc: 10530
Christoph Scholtes <cschol2112@googlemail.com> 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.
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#10530: 24.0.92; tramp does not connect when username is not specified with plink
2012-01-17 11:22 ` Michael Albinus
@ 2012-01-18 2:10 ` Christoph Scholtes
2012-01-18 12:33 ` Michael Albinus
0 siblings, 1 reply; 5+ messages in thread
From: Christoph Scholtes @ 2012-01-18 2:10 UTC (permalink / raw)
To: Michael Albinus; +Cc: 10530
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: ~\acschol@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
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#10530: 24.0.92; tramp does not connect when username is not specified with plink
2012-01-18 2:10 ` Christoph Scholtes
@ 2012-01-18 12:33 ` Michael Albinus
[not found] ` <4F17AE06.8030102@gmail.com>
0 siblings, 1 reply; 5+ messages in thread
From: Michael Albinus @ 2012-01-18 12:33 UTC (permalink / raw)
To: Christoph Scholtes; +Cc: 10530
Christoph Scholtes <cschol2112@googlemail.com> 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.
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#10530: 24.0.92; tramp does not connect when username is not specified with plink
[not found] ` <4F1C7E78.3020702@gmail.com>
@ 2012-01-23 7:38 ` Michael Albinus
0 siblings, 0 replies; 5+ messages in thread
From: Michael Albinus @ 2012-01-23 7:38 UTC (permalink / raw)
To: Christoph Scholtes; +Cc: 10530-done
Christoph Scholtes <cschol2112@googlemail.com> 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.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2012-01-23 7:38 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-17 4:01 bug#10530: 24.0.92; tramp does not connect when username is not specified with plink Christoph Scholtes
2012-01-17 11:22 ` Michael Albinus
2012-01-18 2:10 ` Christoph Scholtes
2012-01-18 12:33 ` Michael Albinus
[not found] ` <4F17AE06.8030102@gmail.com>
[not found] ` <8739bcvxrw.fsf@gmx.de>
[not found] ` <4F18194F.3040505@gmail.com>
[not found] ` <87vco5owuv.fsf@gmx.de>
[not found] ` <4F1AFABF.8040702@gmail.com>
[not found] ` <87pqecq5ys.fsf@gmx.de>
[not found] ` <4F1B1C80.1040208@gmail.com>
[not found] ` <87k44kpzjy.fsf@gmx.de>
[not found] ` <87lioz6gik.fsf@gmx.de>
[not found] ` <4F1C7E78.3020702@gmail.com>
2012-01-23 7:38 ` Michael Albinus
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).