[openssh-commits] [openssh] branch master updated: upstream: Add shebang path to askpass script. Required for exec on

git+noreply at mindrot.org git+noreply at mindrot.org
Sun Jun 29 18:30:47 AEST 2025


This is an automated email from the git hooks/post-receive script.

dtucker pushed a commit to branch master
in repository openssh.

The following commit(s) were added to refs/heads/master by this push:
     new b28e91aff upstream: Add shebang path to askpass script. Required for exec on
b28e91aff is described below

commit b28e91aff80fd24341de8cb3c34dc454d6b75228
Author: dtucker at openbsd.org <dtucker at openbsd.org>
AuthorDate: Sun Jun 29 08:20:21 2025 +0000

    upstream: Add shebang path to askpass script. Required for exec on
    
    some platforms (musl, probably others).
    
    OpenBSD-Regress-ID: 35cdeed12ae701afcb812f800c04d817325cd22a
---
 regress/password.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/regress/password.sh b/regress/password.sh
index 1c5218d6b..10f507e44 100644
--- a/regress/password.sh
+++ b/regress/password.sh
@@ -1,4 +1,4 @@
-#	$OpenBSD: password.sh,v 1.1 2025/06/24 12:28:23 dtucker Exp $
+#	$OpenBSD: password.sh,v 1.2 2025/06/29 08:20:21 dtucker Exp $
 #	Placed in the Public Domain.
 #
 # This tests standard "password" authentication.  It does not run by default,
@@ -21,6 +21,7 @@ echo "PasswordAuthentication yes" >>sshd_proxy
 # Keep a counter of the number of times it has been called and
 # reply with the next line of the replypass file.
 cat >${OBJ}/replypass.sh <<EOD
+#!/bin/sh
 n=\`cat ${OBJ}/replypass.N\`
 awk "NR==\$n" ${OBJ}/replypass
 echo \$(( \$n + 1 )) >${OBJ}/replypass.N

-- 
To stop receiving notification emails like this one, please contact
djm at mindrot.org.


More information about the openssh-commits mailing list