Hello, When using ssh to connect to a machine, the password prompt is expected to be identical in the shell buffer and mini buffer. The mini buffer's prompt seems to make use of only the last character. See http://sdf.org/~van.ly/img/emacs-30-0-91-password-prompt.webp The shell buffer's password prompt shows van@192.168.1.144's password: The mini buffer shows 4's password: Further attempts to backout using C-g and RET may show on the mini buffer 44's password: To demonstrate, 0. start, emacs -Q 1. use, M-x shell 2. use, ssh to connect to machine (ssh is unconfigured) X. expect the mini buffer password prompt to be more meaningfully related to the actual prompt in the shell buffer