|
@@ -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
|