From d21fe2175160f924fb7226409dee51f1ccedea23 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 7 Mar 2017 18:33:38 +0000 Subject: [PATCH] Check for proxycommand --- src/freedombone-client | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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