Lines Matching refs:OBJ
6 rm -f $OBJ/authorized_keys_$USER $OBJ/user_ca_key* $OBJ/cert_user_key*
7 cp $OBJ/sshd_proxy $OBJ/sshd_proxy_bak
8 cp $OBJ/ssh_proxy $OBJ/ssh_proxy_bak
26 ${SSHKEYGEN} -q -N '' -t rsa -f $OBJ/user_ca_key ||\
33 -f $OBJ/cert_user_key_${ktype} || \
40 ${SSHKEYGEN} -q -s $OBJ/user_ca_key -z $$ \
42 -n ${USER},mekmitasdigoat $tflag $OBJ/cert_user_key_${ktype} || \
53 rm -f $OBJ/authorized_keys_$USER
55 cat $OBJ/sshd_proxy_bak
58 "$OBJ/authorized_principals_%u"
59 echo "TrustedUserCAKeys $OBJ/user_ca_key.pub"
61 ) > $OBJ/sshd_proxy
63 cat $OBJ/ssh_proxy_bak
65 ) > $OBJ/ssh_proxy
69 rm -f $OBJ/authorized_principals_$USER
70 ${SSH} -2i $OBJ/cert_user_key_${ktype} \
71 -F $OBJ/ssh_proxy somehost true >/dev/null 2>&1
78 echo > $OBJ/authorized_principals_$USER
79 ${SSH} -2i $OBJ/cert_user_key_${ktype} \
80 -F $OBJ/ssh_proxy somehost true >/dev/null 2>&1
87 echo gregorsamsa > $OBJ/authorized_principals_$USER
88 ${SSH} -2i $OBJ/cert_user_key_${ktype} \
89 -F $OBJ/ssh_proxy somehost true >/dev/null 2>&1
96 echo mekmitasdigoat > $OBJ/authorized_principals_$USER
97 ${SSH} -2i $OBJ/cert_user_key_${ktype} \
98 -F $OBJ/ssh_proxy somehost true >/dev/null 2>&1
105 echo 'blah mekmitasdigoat' > $OBJ/authorized_principals_$USER
106 ${SSH} -2i $OBJ/cert_user_key_${ktype} \
107 -F $OBJ/ssh_proxy somehost true >/dev/null 2>&1
115 $OBJ/authorized_principals_$USER
116 ${SSH} -2i $OBJ/cert_user_key_${ktype} \
117 -F $OBJ/ssh_proxy somehost true >/dev/null 2>&1
126 $OBJ/authorized_principals_$USER
127 ${SSH} -2i $OBJ/cert_user_key_${ktype} \
128 -F $OBJ/ssh_proxy somehost false >/dev/null 2>&1
134 rm -f $OBJ/authorized_principals_$USER
136 cat $OBJ/sshd_proxy_bak
139 ) > $OBJ/sshd_proxy
141 cat $OBJ/ssh_proxy_bak
143 ) > $OBJ/ssh_proxy
149 cat $OBJ/user_ca_key.pub
150 ) > $OBJ/authorized_keys_$USER
151 ${SSH} -2i $OBJ/cert_user_key_${ktype} \
152 -F $OBJ/ssh_proxy somehost true >/dev/null 2>&1
161 cat $OBJ/user_ca_key.pub
162 ) > $OBJ/authorized_keys_$USER
163 ${SSH} -2i $OBJ/cert_user_key_${ktype} \
164 -F $OBJ/ssh_proxy somehost true >/dev/null 2>&1
177 cat $OBJ/user_ca_key.pub
178 ) > $OBJ/authorized_keys_$USER
180 echo > $OBJ/authorized_keys_$USER
181 extra_sshd="TrustedUserCAKeys $OBJ/user_ca_key.pub"
191 cat $OBJ/sshd_proxy_bak
195 ) > $OBJ/sshd_proxy
197 cat $OBJ/ssh_proxy_bak
199 ) > $OBJ/ssh_proxy
201 ${SSH} -2i $OBJ/cert_user_key_${ktype} \
202 -F $OBJ/ssh_proxy somehost true
210 cat $OBJ/sshd_proxy_bak
212 echo "RevokedKeys $OBJ/cert_user_key_revoked"
215 ) > $OBJ/sshd_proxy
216 cp $OBJ/cert_user_key_${ktype}.pub \
217 $OBJ/cert_user_key_revoked
218 ${SSH} -2i $OBJ/cert_user_key_${ktype} \
219 -F $OBJ/ssh_proxy somehost true >/dev/null 2>&1
224 rm $OBJ/cert_user_key_revoked
225 ${SSHKEYGEN} -kqf $OBJ/cert_user_key_revoked \
226 $OBJ/cert_user_key_${ktype}.pub
227 ${SSH} -2i $OBJ/cert_user_key_${ktype} \
228 -F $OBJ/ssh_proxy somehost true >/dev/null 2>&1
233 ${SSHKEYGEN} -kqf $OBJ/cert_user_key_revoked
234 ${SSH} -2i $OBJ/cert_user_key_${ktype} \
235 -F $OBJ/ssh_proxy somehost true >/dev/null 2>&1
244 cat $OBJ/sshd_proxy_bak
245 echo "RevokedKeys $OBJ/user_ca_key.pub"
248 ) > $OBJ/sshd_proxy
249 ${SSH} -2i $OBJ/cert_user_key_${ktype} -F $OBJ/ssh_proxy \
258 cat $OBJ/sshd_proxy_bak
261 ) > $OBJ/sshd_proxy
263 ${SSH} -2i $OBJ/user_ca_key \
264 -F $OBJ/ssh_proxy somehost true >/dev/null 2>&1
286 cat $OBJ/sshd_proxy_bak > $OBJ/sshd_proxy
291 cat $OBJ/user_ca_key.pub
292 ) > $OBJ/authorized_keys_$USER
294 echo > $OBJ/authorized_keys_$USER
295 echo "TrustedUserCAKeys $OBJ/user_ca_key.pub" \
296 >> $OBJ/sshd_proxy
298 >> $OBJ/sshd_proxy
300 echo $auth_opt >> $OBJ/sshd_proxy
305 ${SSHKEYGEN} -q -s $OBJ/user_ca_key \
307 $sign_opts $OBJ/cert_user_key_${ktype} ||
310 ${SSH} -2i $OBJ/cert_user_key_${ktype} \
311 -F $OBJ/ssh_proxy somehost true >/dev/null 2>&1
343 rm -f $OBJ/authorized_keys_$USER
344 echo mekmitasdigoat > $OBJ/authorized_principals_$USER
346 TrustedUserCAKeys "AuthorizedPrincipalsFile $OBJ/authorized_principals_%u"
348 TrustedUserCAKeys "AuthorizedPrincipalsFile $OBJ/authorized_principals_%u"
351 rm -f $OBJ/authorized_principals_$USER
372 cat $OBJ/sshd_proxy_bak > $OBJ/sshd_proxy
376 ${SSHKEYGEN} -q -s $OBJ/cert_user_key_${ktype} -I \
378 -n $USER $OBJ/cert_user_key_${ktype} ||
381 ${SSH} -2i $OBJ/cert_user_key_${ktype} -F $OBJ/ssh_proxy \
388 rm -f $OBJ/authorized_keys_$USER $OBJ/user_ca_key* $OBJ/cert_user_key*
389 rm -f $OBJ/authorized_principals_$USER