diff --git a/src/freedombone-client b/src/freedombone-client index e6d11a41..a5c76ecc 100755 --- a/src/freedombone-client +++ b/src/freedombone-client @@ -170,7 +170,7 @@ function configure_ssh_client { proxycmd="/usr/bin/nc -X 5 -x 127.0.0.1:9050 %h %p" fi if ! grep -q "# ${PROJECT_NAME} settings" ~/.ssh/config; then - if ! grep -q 'Host *.onion' ~/.ssh/config; then + if ! grep -q 'ProxyCommand' ~/.ssh/config; then echo "# ${PROJECT_NAME} settings start" >> ~/.ssh/config echo 'Host *.onion' >> ~/.ssh/config echo ' ServerAliveInterval 60' >> ~/.ssh/config