Lines Matching refs:OBJ
6 rm -f $OBJ/user_ca_key* $OBJ/cert_user_key*
7 cp $OBJ/sshd_proxy $OBJ/sshd_proxy_bak
23 ${SSHKEYGEN} -q -N '' -t ed25519 -f $OBJ/user_ca_key || \
25 ${SSHKEYGEN} -q -N '' -t ${userkeytype} -f $OBJ/cert_user_key || \
27 ${SSHKEYGEN} -q -s $OBJ/user_ca_key -I "Joanne User" \
28 -z $$ -n ${USER},mekmitasdigoat $OBJ/cert_user_key || \
31 CERT_BODY=`cat $OBJ/cert_user_key-cert.pub | awk '{ print $2 }'`
32 CA_BODY=`cat $OBJ/user_ca_key.pub | awk '{ print $2 }'`
33 CERT_FP=`${SSHKEYGEN} -lf $OBJ/cert_user_key-cert.pub | awk '{ print $2 }'`
34 CA_FP=`${SSHKEYGEN} -lf $OBJ/user_ca_key.pub | awk '{ print $2 }'`
51 test -f "$OBJ/authorized_principals_${LOGNAME}" &&
52 exec cat "$OBJ/authorized_principals_${LOGNAME}"
57 if ! $OBJ/check-perm -m keys-command $PRINCIPALS_COMMAND ; then
70 rm -f $OBJ/authorized_keys_$USER
72 cat $OBJ/sshd_proxy_bak
78 echo "TrustedUserCAKeys $OBJ/user_ca_key.pub"
79 ) > $OBJ/sshd_proxy
86 echo > $OBJ/authorized_principals_$USER
87 ${SSH} -i $OBJ/cert_user_key \
88 -F $OBJ/ssh_proxy somehost true >/dev/null 2>&1
95 echo gregorsamsa > $OBJ/authorized_principals_$USER
96 ${SSH} -i $OBJ/cert_user_key \
97 -F $OBJ/ssh_proxy somehost true >/dev/null 2>&1
104 echo mekmitasdigoat > $OBJ/authorized_principals_$USER
105 ${SSH} -i $OBJ/cert_user_key \
106 -F $OBJ/ssh_proxy somehost true >/dev/null 2>&1
113 echo 'blah mekmitasdigoat' > $OBJ/authorized_principals_$USER
114 ${SSH} -i $OBJ/cert_user_key \
115 -F $OBJ/ssh_proxy somehost true >/dev/null 2>&1
123 $OBJ/authorized_principals_$USER
124 ${SSH} -i $OBJ/cert_user_key \
125 -F $OBJ/ssh_proxy somehost true >/dev/null 2>&1
133 $OBJ/authorized_principals_$USER
134 ${SSH} -i $OBJ/cert_user_key \
135 -F $OBJ/ssh_proxy somehost false >/dev/null 2>&1
141 rm -f $OBJ/authorized_principals_$USER
143 cat $OBJ/sshd_proxy_bak
145 ) > $OBJ/sshd_proxy
151 cat $OBJ/user_ca_key.pub
152 ) > $OBJ/authorized_keys_$USER
153 ${SSH} -i $OBJ/cert_user_key \
154 -F $OBJ/ssh_proxy somehost true >/dev/null 2>&1
163 cat $OBJ/user_ca_key.pub
164 ) > $OBJ/authorized_keys_$USER
165 ${SSH} -i $OBJ/cert_user_key \
166 -F $OBJ/ssh_proxy somehost true >/dev/null 2>&1