🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.user
Article #142

Re: systemd-ask-password --no-tty not working in trixie

#142
From: Steffen Wurm
Date: Fri, 16 Oct 2026 06:20
45 lines
3283 bytes
On Thu, 15 Oct 2026 07:35:54 -0400, didier gaumet wrote:
> Therefore, is there a possibility that in your Archlinux system SSH is invoked with a -t option or a RequestTTY option in ssh_config, while in your Debian Trixie system, it is not?

Unfortunatelly not.

Even when using "-t" to my trixie systems, the problem remains.

$ ssh -t -l root some-host
Last login: Fri Oct 16 07:35:43 2026 from x.x.x.x
root@some-host:~# systemd-ask-password --no-tty --timeout 1 foobar
Failed to query password: Timer expired   # << No wall output here.
root@some-host:~# grep -i code /etc/os-release
VERSION_CODENAME=trixie
root@some-host:~#


$ ssh -t -l root arch
# systemd-ask-password --no-tty --timeout 1 gimmepassword

Broadcast message from root@jumphost (Fri 2026-10-16 07:53:21 CEST):

Password entry required for 'gimmepassword' (PID 61737).
Please enter password with the systemd-tty-ask-password-agent tool.

Failed to query password: Timer expired
# grep -i name /etc/os-release
NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
#

-- 
Steffen Wurm
Administration Informationstechnologie

Tel.: +49 (0) 23 24 / 96 48-845
E-Mail: debian-wurm@resol.de
www: https://www.resol.de

-------------------------------------------------------------------------------
RESOL - Elektronische Regelungen GmbH
Heiskampstr. 10
45527 Hattingen / Germany
Geschäftsführer: Isabel Pfeil, Marcel Pfeil, Rudolf Pfeil
Amtsgericht - Registergericht - Essen - HRB 15674
-------------------------------------------------------------------------------
Technical Details
Message-ID: <NOJsm-5RqU-3@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news.samoylyk.net!gothmog.csi.it!news.servidellagleba.it!bofh.it!news.nic.it!robomod
References: <NOqg2-5EZJ-7@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news.samoylyk.net!gothmog.csi.it!news.servidellagleba.it!bofh.it!news.nic.it!robomod
From: Steffen Wurm <debian-wurm@resol.de>
Newsgroups: linux.debian.user
Subject: Re: systemd-ask-password --no-tty not working in trixie
Date: Fri, 16 Oct 2026 08:20:02 +0200
Message-ID: <NOJsm-5RqU-3@gated-at.bofh.it>
References: <NOqg2-5EZJ-7@gated-at.bofh.it>
X-Mailbox-Line: From debian-user-request@lists.debian.org  Fri Oct 16 06:12:09 2026
Old-Return-Path: <debian-wurm@resol.de>
X-Amavis-Spam-Status: No, score=-2.1 tagged_above=-10000 required=5.3
 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
 DKIM_VALID_EF=-0.1] autolearn=ham autolearn_force=no
X-Policyd-Weight: using cached result; rate: -4.6
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Content-Language: en-US, de-DE
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Mailing-List: <debian-user@lists.debian.org> archive/latest/832427
List-ID: <debian-user.lists.debian.org>
List-URL: <https://lists.debian.org/debian-user/>
List-Archive: https://lists.debian.org/msgid-search/4e20180a-e679-4ec6-b1b3-290cd5fb6455@resol.de
Approved: robomod@news.nic.it
Lines: 45
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Cc: debian-user@lists.debian.org
X-Original-Date: Fri, 16 Oct 2026 07:54:41 +0200
X-Original-Message-ID: <4e20180a-e679-4ec6-b1b3-290cd5fb6455@resol.de>
X-Original-References: <11aq646$bba$1@ciao.gmane.io>