ソースを参照

Check for proxycommand

Bob Mottram 8 年 前
コミット
d21fe21751
共有1 個のファイルを変更した1 個の追加1 個の削除を含む
  1. 1
    1
      src/freedombone-client

+ 1
- 1
src/freedombone-client ファイルの表示

170
         proxycmd="/usr/bin/nc -X 5 -x 127.0.0.1:9050 %h %p"
170
         proxycmd="/usr/bin/nc -X 5 -x 127.0.0.1:9050 %h %p"
171
     fi
171
     fi
172
     if ! grep -q "# ${PROJECT_NAME} settings" ~/.ssh/config; then
172
     if ! grep -q "# ${PROJECT_NAME} settings" ~/.ssh/config; then
173
-        if ! grep -q 'Host *.onion' ~/.ssh/config; then
173
+        if ! grep -q 'ProxyCommand' ~/.ssh/config; then
174
             echo "# ${PROJECT_NAME} settings start" >> ~/.ssh/config
174
             echo "# ${PROJECT_NAME} settings start" >> ~/.ssh/config
175
             echo 'Host *.onion' >> ~/.ssh/config
175
             echo 'Host *.onion' >> ~/.ssh/config
176
             echo '  ServerAliveInterval 60' >> ~/.ssh/config
176
             echo '  ServerAliveInterval 60' >> ~/.ssh/config