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 $
2
2
# Placed in the Public Domain.
3
3
4
4
tid=" agent restrictions"
@@ -39,14 +39,14 @@ Host host_$h
39
39
Hostname host_$h
40
40
HostkeyAlias host_$h
41
41
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
43
43
_EOF
44
44
# Variant with no specified keys.
45
45
cat << _EOF >> $OBJ /ssh_proxy_noid
46
46
Host host_$h
47
47
Hostname host_$h
48
48
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
50
50
_EOF
51
51
done
52
52
cat $OBJ /ssh_proxy.bak >> $OBJ /ssh_proxy
You can’t perform that action at this time.
0 commit comments