GNU bug report logs - #79424
30.2; shell-mode doesn't hide password

Previous Next

Package: emacs;

Reported by: André A. Gomes <andremegafone <at> gmail.com>

Date: Wed, 10 Sep 2025 15:10:02 UTC

Severity: normal

Found in version 30.2

Fixed in version 31.1

Done: Michael Albinus <michael.albinus <at> gmx.de>

Full log


View this message in rfc822 format

From: André A. Gomes <andremegafone <at> gmail.com>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: 79424 <at> debbugs.gnu.org
Subject: bug#79424: 30.2; shell-mode doesn't hide password
Date: Thu, 11 Sep 2025 16:40:43 +0100
Michael Albinus <michael.albinus <at> gmx.de> writes:

> I'll try to reproduce the problem. I have "OpenSSH_9.9p1, OpenSSL 3.2.4
> 11 Feb 2025", and it shows me the default "user <at> host's password: "
> prompt, although I have configured ProxyJump.
>
> Could you please tell me which ssh version you are using? Could you
> please show me an example prompt as it appears to you? Is it the same
> prompt, when you connect to another host without a proxy?

I am using OpenSSH_9.9p1 on the host machine and OpenSSH_9.7p1 on the
VM.

Here's an example of the prompt:

--8<---------------cut here---------------start------------->8---
$ ssh aadcg <at> localhost -p 2222
(aadcg <at> localhost) Password for aadcg <at> freebsd:
--8<---------------cut here---------------end--------------->8---

The prompt above differs from the usual prompt when connecting to
another host.  It's the first time I came across a prompt of the form
"(user <at> host) Password for user <at> host:".

I remind you that I am running a VM with qemu where I'm passing "-net
user,hostfwd=tcp::2222-:22".  This maps the localhost port 2222 to port
22 on the VM, so that I can connect to the VM via "ssh user <at> host -p
2222".  Let me know if you understood the setup.

Thank you again.


-- 
André A. Gomes
"You cannot even find the ruins..."




This bug report was last modified today.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.