unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Christoph Scholtes <cschol2112@googlemail.com>
To: Michael Albinus <michael.albinus@gmx.de>
Cc: 10530@debbugs.gnu.org
Subject: bug#10530: 24.0.92; tramp does not connect when username is not specified with plink
Date: Tue, 17 Jan 2012 19:10:49 -0700	[thread overview]
Message-ID: <4F162A29.9090905@gmail.com> (raw)
In-Reply-To: <8762gak1yp.fsf@gmx.de>

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






  reply	other threads:[~2012-01-18  2:10 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F162A29.9090905@gmail.com \
    --to=cschol2112@googlemail.com \
    --cc=10530@debbugs.gnu.org \
    --cc=michael.albinus@gmx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).