tramp-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: emacs hangs entering password


From: Mehul Choube
Subject: RE: emacs hangs entering password
Date: Tue, 17 Nov 2009 15:47:29 +0530

>Your prompt does not match `tramp-shell-prompt-pattern', which has as
value "\\(?:^\\| \\)[^#$%>\n]*[#$%>] *\\(\\[[0-9;]*[a-zA-Z] *\\)*".
>
>If you add ":" as trailing prompt character in your .emacs, it shall
work:
>
>(setq tramp-shell-prompt-pattern
>      "\\(?:^\\|
>\\)[^:#$%>\n]*[:#$%>] *\\(\\[[0-9;]*[a-zA-Z] *\\)*")

It still doesn't work.

*Messages* contents:

Loading tramp...done
For information about GNU Emacs and the GNU system, type C-h C-a.
Invalid image size (see `max-image-size') [17 times]
Tramp: Opening connection for address@hidden using pscp...
Tramp: Waiting 60s for local shell to come up...
Tramp: Sending command `plink pinky -l mchoube  -ssh && exit || exit'
Tramp: Waiting for prompts from remote shell
Tramp: Sending password
Tramp: Found remote shell prompt on `pinky'
Quit

*tramp/pscp address@hidden contents:

Last login: Tue Nov 17 03:40:32 2009 from 10.209.174.135
#####################################################
#              XXX Build Box - restricted use       #
#       
#  All system changes to this box must be           #
#   approved by address@hidden          #
#                                                   #
#  /xxx/xxxxx_xxxxxxxxxx is for Production Backups  #
#                                                   #
#  /xxx/xxxxx_xxxx is for test installs,            #
#    change the /xxx/xxxxx link as appropriate      #
#                                                   #
#####################################################

pinky [1]: 

I have attached *debug tramp/pscp address@hidden contents.

.emacs contents:

> cat ~/.emacs
(require 'tramp)

(custom-set-variables '(tramp-verbose 8))

(setq tramp-debug-buffer t)

;; (setq shell-prompt-pattern "[A-Za-z]* \[1\]: ")

(setq tramp-shell-prompt-pattern "\\(?:^\\| \\)[^:#$%>\n]*[:#$%>]
*\\(\[[0-9;]*[a-zA-Z] *\\)*")
;;                               "\\(?:^\\| \\)[^#$%>\n]*[#$%>]
*\\(\[[0-9;]*[a-zA-Z] *\\)*"




Thanks,
Mehul

Attachment: debug_tramp.out
Description: debug_tramp.out


reply via email to

[Prev in Thread] Current Thread [Next in Thread]