Lines Matching refs:OBJ
6 pidfile=$OBJ/remote_pid
10 echo "ExitOnForwardFailure=yes" >> $OBJ/ssh_config
11 echo "ExitOnForwardFailure=yes" >> $OBJ/ssh_proxy
41 cp $OBJ/sshd_proxy $OBJ/sshd_proxy_bak
42 echo "PermitOpen 127.0.0.1:1" >>$OBJ/sshd_config
43 echo "Match Address 127.0.0.1" >>$OBJ/sshd_config
44 echo "PermitOpen 127.0.0.1:$PORT" >>$OBJ/sshd_config
46 grep -v AuthorizedKeysFile $OBJ/sshd_proxy_bak > $OBJ/sshd_proxy
47 echo "AuthorizedKeysFile /dev/null" >>$OBJ/sshd_proxy
48 echo "PermitOpen 127.0.0.1:1" >>$OBJ/sshd_proxy
49 echo "Match user $USER" >>$OBJ/sshd_proxy
50 echo "AuthorizedKeysFile /dev/null $OBJ/authorized_keys_%u" >>$OBJ/sshd_proxy
51 echo "Match Address 127.0.0.1" >>$OBJ/sshd_proxy
52 echo "PermitOpen 127.0.0.1:$PORT" >>$OBJ/sshd_proxy
61 start_client -F $OBJ/ssh_config
62 ${SSH} -q -$p -p $fwdport -F $OBJ/ssh_config somehost true || \
70 start_client -F $OBJ/ssh_proxy
71 ${SSH} -q -$p -p $fwdport -F $OBJ/ssh_config somehost true && \
77 cp /dev/null $OBJ/authorized_keys_$USER
79 printf 'permitopen="127.0.0.1:'$PORT'" ' >> $OBJ/authorized_keys_$USER
80 cat $OBJ/$t.pub >> $OBJ/authorized_keys_$USER
84 start_client -F $OBJ/ssh_proxy
85 ${SSH} -q -$p -p $fwdport -F $OBJ/ssh_config somehost true && \
94 start_client -F $OBJ/ssh_config
95 ${SSH} -q -$p -p $fwdport -F $OBJ/ssh_config somehost true || \
100 cp $OBJ/sshd_proxy_bak $OBJ/sshd_proxy
101 echo "PermitOpen 127.0.0.1:1 127.0.0.1:$PORT 127.0.0.2:2" >>$OBJ/sshd_proxy
102 echo "Match User $USER" >>$OBJ/sshd_proxy
103 echo "PermitOpen 127.0.0.1:1 127.0.0.1:2" >>$OBJ/sshd_proxy
108 start_client -F $OBJ/ssh_proxy
109 ${SSH} -q -$p -p $fwdport -F $OBJ/ssh_config somehost true && \
114 cp $OBJ/sshd_proxy_bak $OBJ/sshd_proxy
115 echo "PermitOpen 127.0.0.1:1 127.0.0.1:$PORT 127.0.0.2:2" >>$OBJ/sshd_proxy
116 echo "Match User NoSuchUser" >>$OBJ/sshd_proxy
117 echo "PermitOpen 127.0.0.1:1 127.0.0.1:2" >>$OBJ/sshd_proxy
123 start_client -F $OBJ/ssh_proxy
124 ${SSH} -q -$p -p $fwdport -F $OBJ/ssh_config somehost true || \