Lines Matching refs:OBJ
6 rm -f $OBJ/user_ca_key* $OBJ/cert_user_key*
7 cp $OBJ/sshd_proxy $OBJ/sshd_proxy_bak
18 ${SSHKEYGEN} -q -N '' -t ed25519 -f $OBJ/user_ca_key || \
20 ${SSHKEYGEN} -q -N '' -t rsa -f $OBJ/cert_user_key || \
22 ${SSHKEYGEN} -q -s $OBJ/user_ca_key -I "Joanne User" \
23 -z $$ -n ${USER},mekmitasdigoat $OBJ/cert_user_key || \
26 CERT_BODY=`cat $OBJ/cert_user_key-cert.pub | awk '{ print $2 }'`
27 CA_BODY=`cat $OBJ/user_ca_key.pub | awk '{ print $2 }'`
28 CERT_FP=`${SSHKEYGEN} -lf $OBJ/cert_user_key-cert.pub | awk '{ print $2 }'`
29 CA_FP=`${SSHKEYGEN} -lf $OBJ/user_ca_key.pub | awk '{ print $2 }'`
45 test -f "$OBJ/authorized_principals_${LOGNAME}" &&
46 exec cat "$OBJ/authorized_principals_${LOGNAME}"
51 if ! $OBJ/check-perm -m keys-command $PRINCIPALS_COMMAND ; then
64 rm -f $OBJ/authorized_keys_$USER
66 cat $OBJ/sshd_proxy_bak
72 echo "TrustedUserCAKeys $OBJ/user_ca_key.pub"
73 ) > $OBJ/sshd_proxy
80 echo > $OBJ/authorized_principals_$USER
81 ${SSH} -2i $OBJ/cert_user_key \
82 -F $OBJ/ssh_proxy somehost true >/dev/null 2>&1
89 echo gregorsamsa > $OBJ/authorized_principals_$USER
90 ${SSH} -2i $OBJ/cert_user_key \
91 -F $OBJ/ssh_proxy somehost true >/dev/null 2>&1
98 echo mekmitasdigoat > $OBJ/authorized_principals_$USER
99 ${SSH} -2i $OBJ/cert_user_key \
100 -F $OBJ/ssh_proxy somehost true >/dev/null 2>&1
107 echo 'blah mekmitasdigoat' > $OBJ/authorized_principals_$USER
108 ${SSH} -2i $OBJ/cert_user_key \
109 -F $OBJ/ssh_proxy somehost true >/dev/null 2>&1
117 $OBJ/authorized_principals_$USER
118 ${SSH} -2i $OBJ/cert_user_key \
119 -F $OBJ/ssh_proxy somehost true >/dev/null 2>&1
127 $OBJ/authorized_principals_$USER
128 ${SSH} -2i $OBJ/cert_user_key \
129 -F $OBJ/ssh_proxy somehost false >/dev/null 2>&1
135 rm -f $OBJ/authorized_principals_$USER
137 cat $OBJ/sshd_proxy_bak
139 ) > $OBJ/sshd_proxy
145 cat $OBJ/user_ca_key.pub
146 ) > $OBJ/authorized_keys_$USER
147 ${SSH} -2i $OBJ/cert_user_key \
148 -F $OBJ/ssh_proxy somehost true >/dev/null 2>&1
157 cat $OBJ/user_ca_key.pub
158 ) > $OBJ/authorized_keys_$USER
159 ${SSH} -2i $OBJ/cert_user_key \
160 -F $OBJ/ssh_proxy somehost true >/dev/null 2>&1