[openssh-commits] [openssh] 01/01: upstream: Use SUDO when setting up hostkey.
git+noreply at mindrot.org
git+noreply at mindrot.org
Mon Jul 19 19:20:48 AEST 2021
This is an automated email from the git hooks/post-receive script.
dtucker pushed a commit to branch master
in repository openssh.
commit 44142068dc7ef783d135e91ff954e754d2ed432e
Author: dtucker at openbsd.org <dtucker at openbsd.org>
Date: Mon Jul 19 08:48:33 2021 +0000
upstream: Use SUDO when setting up hostkey.
OpenBSD-Regress-ID: 990cf4481cab8dad62e90818a9b4b36c533851a7
---
regress/sshfp-connect.sh | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/regress/sshfp-connect.sh b/regress/sshfp-connect.sh
index 02d5cd2b..06e91cdb 100644
--- a/regress/sshfp-connect.sh
+++ b/regress/sshfp-connect.sh
@@ -1,4 +1,4 @@
-# $OpenBSD: sshfp-connect.sh,v 1.1 2021/07/19 02:46:34 dtucker Exp $
+# $OpenBSD: sshfp-connect.sh,v 1.2 2021/07/19 08:48:33 dtucker Exp $
# Placed in the Public Domain.
# This test requires external setup and thus is skipped unless
@@ -29,8 +29,8 @@ if [ ! -z "${TEST_SSH_SSHFP_DOMAIN}" ] && \
# Set RSA host key to match fingerprints above.
mv $OBJ/sshd_proxy $OBJ/sshd_proxy.orig
- cp $SRC/rsa_openssh.prv $OBJ/host.ssh-rsa
- chmod 600 $OBJ/host.ssh-rsa
+ $SUDO cp $SRC/rsa_openssh.prv $OBJ/host.ssh-rsa
+ $SUDO chmod 600 $OBJ/host.ssh-rsa
sed -e "s|$OBJ/ssh-rsa|$OBJ/host.ssh-rsa|" \
$OBJ/sshd_proxy.orig > $OBJ/sshd_proxy
--
To stop receiving notification emails like this one, please contact
djm at mindrot.org.
More information about the openssh-commits
mailing list