Lines Matching refs:OBJ
6 rm -f $OBJ/user_ca_key* $OBJ/user_key*
7 rm -f $OBJ/cert_user_key*
10 ${SSHKEYGEN} -q -N '' -t ed25519 -f $OBJ/user_ca_key1 ||\
12 ${SSHKEYGEN} -q -N '' -t ed25519 -f $OBJ/user_ca_key2 ||\
16 ${SSHKEYGEN} -q -N '' -t ed25519 -f $OBJ/user_key1 || \
18 ${SSHKEYGEN} -q -N '' -t ed25519 -f $OBJ/user_key2 || \
20 ${SSHKEYGEN} -q -N '' -t ed25519 -f $OBJ/user_key3 || \
22 ${SSHKEYGEN} -q -N '' -t ed25519 -f $OBJ/user_key4 || \
24 ${SSHKEYGEN} -q -N '' -t ed25519 -f $OBJ/user_key5 || \
29 ${SSHKEYGEN} -q -s $OBJ/user_ca_key1 -I "regress user key for $USER" \
30 -z $$ -n ${USER} $OBJ/user_key1 ||
32 mv $OBJ/user_key1-cert.pub $OBJ/cert_user_key1_1.pub
33 ${SSHKEYGEN} -q -s $OBJ/user_ca_key2 -I "regress user key for $USER" \
34 -z $$ -n ${USER} $OBJ/user_key1 ||
36 mv $OBJ/user_key1-cert.pub $OBJ/cert_user_key1_2.pub
37 ${SSHKEYGEN} -q -s $OBJ/user_ca_key1 -I "regress user key for $USER" \
38 -z $$ -n ${USER} $OBJ/user_key3 ||
40 rm $OBJ/user_key3.pub # to test use of private key w/o public half.
41 ${SSHKEYGEN} -q -s $OBJ/user_ca_key1 -I "regress user key for $USER" \
42 -z $$ -n ${USER} $OBJ/user_key4 ||
44 rm $OBJ/user_key4 $OBJ/user_key4.pub # to test no matching pub/private key case.
47 opts="-F $OBJ/ssh_proxy -oIdentitiesOnly=yes"
48 opts2="$opts -i $OBJ/user_key1 -i $OBJ/user_key2"
49 echo "cert-authority $(cat $OBJ/user_ca_key1.pub)" > $OBJ/authorized_keys_$USER
52 cat $OBJ/ssh_proxy | grep -v IdentityFile > $OBJ/no_identity_config
59 ${SSH} -F $OBJ/no_identity_config -oIdentitiesOnly=yes \
60 -i $OBJ/user_key3 somehost exit 52
65 ${SSH} -F $OBJ/no_identity_config -oIdentitiesOnly=yes \
66 -oCertificateFile=$OBJ/user_key3-cert.pub \
67 -i $OBJ/user_key3 somehost exit 52
80 opts3="$opts2 -oCertificateFile=$OBJ/cert_user_key1_2.pub"
89 opts3="$opts -i $OBJ/user_key2"
90 opts3="$opts3 -oCertificateFile=$OBJ/cert_user_key1_1.pub"
99 opts3="$opts2 -oCertificateFile=$OBJ/cert_user_key1_1.pub"
108 opts3="$opts2 -oCertificateFile=$OBJ/cert_user_key1_2.pub"
109 opts3="$opts3 -oCertificateFile=$OBJ/cert_user_key1_1.pub"
130 ${SSHADD} -k $OBJ/user_key2 > /dev/null 2>&1
134 ${SSHADD} -k $OBJ/user_key1 > /dev/null 2>&1
140 opts="-F $OBJ/ssh_proxy"
148 opts="$opts -oCertificateFile=$OBJ/cert_user_key1_2.pub"
155 opts="$opts -oCertificateFile=$OBJ/cert_user_key1_1.pub"
165 rm -f $OBJ/user_ca_key* $OBJ/user_key*
166 rm -f $OBJ/cert_user_key*