Lines Matching refs:OBJ

6 cp $OBJ/sshd_proxy $OBJ/sshd_proxy_bak
10 cp /dev/null $OBJ/authorized_keys_$USER
13 printf "command=\"$cmd\" " >>$OBJ/authorized_keys_$USER
14 cat $OBJ/$t.pub >> $OBJ/authorized_keys_$USER
20 rm -f $OBJ/ssh_proxy.tmp
21 echo "@get $OBJ/ssh_proxy $OBJ/ssh_proxy.tmp" | \
22 ${SFTP} -S ${SSH} -b - -qF $OBJ/ssh_proxy somehost 2>/dev/null || \
24 test -f "$OBJ/ssh_proxy.tmp" || fail "sftp did not download file"
25 rm -f $OBJ/ssh_proxy.tmp
29 ${SSH} -F $OBJ/ssh_proxy somehost false || fail "forced command in key option"
32 cp $OBJ/sshd_proxy_bak $OBJ/sshd_proxy
33 echo "ForceCommand true" >> $OBJ/sshd_proxy
36 ${SSH} -F $OBJ/ssh_proxy somehost false || fail "forced command config"
39 cp $OBJ/sshd_proxy_bak $OBJ/sshd_proxy
40 echo "ForceCommand false" >> $OBJ/sshd_proxy
43 echo "@get $OBJ/ssh_proxy $OBJ/ssh_proxy.tmp" | \
44 ${SFTP} -S ${SSH} -F $OBJ/ssh_proxy -oLoglevel=quiet somehost && \
47 echo "Match User $USER" >> $OBJ/sshd_proxy
48 echo " ForceCommand true" >> $OBJ/sshd_proxy
51 ${SSH} -F $OBJ/ssh_proxy somehost false || fail "forced command match"
54 echo "@get $OBJ/ssh_proxy $OBJ/ssh_proxy.tmp" | \
55 ${SFTP} -S ${SSH} -F $OBJ/ssh_proxy -oLoglevel=quiet somehost && \
59 grep -vi subsystem $OBJ/sshd_proxy_bak > $OBJ/sshd_proxy
60 echo "Subsystem sftp /bin/false" >> $OBJ/sshd_proxy
61 echo "ForceCommand ${SFTPSERVER}" >> $OBJ/sshd_proxy
62 rm -f $OBJ/ssh_proxy.tmp
63 echo "@get $OBJ/ssh_proxy $OBJ/ssh_proxy.tmp" | \
64 ${SFTP} -S ${SSH} -b - -qF $OBJ/ssh_proxy somehost 2>/dev/null || \
66 test -f "$OBJ/ssh_proxy.tmp" || fail "sftp did not download file"
67 rm -f $OBJ/ssh_proxy.tmp