File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1- # $OpenBSD: agent-restrict.sh,v 1.6 2023 /03/01 09:29:32 dtucker Exp $
1+ # $OpenBSD: agent-restrict.sh,v 1.7 2025 /03/28 21:45:55 dtucker Exp $
22# Placed in the Public Domain.
33
44tid=" agent restrictions"
@@ -39,14 +39,14 @@ Host host_$h
3939 Hostname host_$h
4040 HostkeyAlias host_$h
4141 IdentityFile $OBJ /user_$h
42- ProxyCommand ${SUDO} env SSH_SK_HELPER=\"$SSH_SK_HELPER \" ${OBJ} /sshd-log-wrapper.sh -i -f $OBJ /sshd_proxy_host_$h
42+ ProxyCommand ${SUDO} env SSH_SK_HELPER=\"$SSH_SK_HELPER \" ${TEST_SSH_SSHD_ENV} ${ OBJ} /sshd-log-wrapper.sh -i -f $OBJ /sshd_proxy_host_$h
4343_EOF
4444 # Variant with no specified keys.
4545 cat << _EOF >> $OBJ /ssh_proxy_noid
4646Host host_$h
4747 Hostname host_$h
4848 HostkeyAlias host_$h
49- ProxyCommand ${SUDO} env SSH_SK_HELPER=\"$SSH_SK_HELPER \" ${OBJ} /sshd-log-wrapper.sh -i -f $OBJ /sshd_proxy_host_$h
49+ ProxyCommand ${SUDO} env SSH_SK_HELPER=\"$SSH_SK_HELPER \" ${TEST_SSH_SSHD_ENV} ${ OBJ} /sshd-log-wrapper.sh -i -f $OBJ /sshd_proxy_host_$h
5050_EOF
5151done
5252cat $OBJ /ssh_proxy.bak >> $OBJ /ssh_proxy
You can’t perform that action at this time.
0 commit comments