Rainer Thiel <[EMAIL PROTECTED]> writes:

> I am still trying to connect with <applin.hrz.uni-marburg.de> without
> success. Now, I get asked the password again and again.  Apparently
> Tramp gets trapped in a loop.  Transcripts from the relevant buffers
> are enclosed as an attachment.

Does it help to put an (erase-buffer) statement into the function
tramp-action-password, like so?

(defun tramp-action-password (p multi-method method user host)
  "Query the user for a password."
  (when (tramp-method-out-of-band-p multi-method method)
    (kill-process (get-buffer-process (current-buffer)))
    (error (concat "Out of band method `%s' not applicable "
                   "for remote shell asking for a password")
           method))
  (erase-buffer)                ; THIS LINE NEW
  (tramp-enter-password p (match-string 0)))

After making this change, position point inside the defun and hit
C-M-x.  Then try again.

kai
-- 
A large number of young women don't trust men with beards.  (BFBS Radio)


_______________________________________________
Tramp-devel mailing list
[EMAIL PROTECTED]
http://mail.freesoftware.fsf.org/mailman/listinfo/tramp-devel

Reply via email to