Check for proxycommand
This commit is contained in:
parent
5a17919b71
commit
d21fe21751
|
@ -170,7 +170,7 @@ function configure_ssh_client {
|
||||||
proxycmd="/usr/bin/nc -X 5 -x 127.0.0.1:9050 %h %p"
|
proxycmd="/usr/bin/nc -X 5 -x 127.0.0.1:9050 %h %p"
|
||||||
fi
|
fi
|
||||||
if ! grep -q "# ${PROJECT_NAME} settings" ~/.ssh/config; then
|
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 "# ${PROJECT_NAME} settings start" >> ~/.ssh/config
|
||||||
echo 'Host *.onion' >> ~/.ssh/config
|
echo 'Host *.onion' >> ~/.ssh/config
|
||||||
echo ' ServerAliveInterval 60' >> ~/.ssh/config
|
echo ' ServerAliveInterval 60' >> ~/.ssh/config
|
||||||
|
|
Loading…
Reference in New Issue