Selaa lähdekoodia

Check for proxycommand

Bob Mottram 8 vuotta sitten
vanhempi
commit
d21fe21751
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1
    1
      src/freedombone-client

+ 1
- 1
src/freedombone-client Näytä tiedosto

@@ -170,7 +170,7 @@ function configure_ssh_client {
170 170
         proxycmd="/usr/bin/nc -X 5 -x 127.0.0.1:9050 %h %p"
171 171
     fi
172 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 174
             echo "# ${PROJECT_NAME} settings start" >> ~/.ssh/config
175 175
             echo 'Host *.onion' >> ~/.ssh/config
176 176
             echo '  ServerAliveInterval 60' >> ~/.ssh/config