|
@@ -224,7 +224,8 @@ function enable_ssh_via_onion {
|
224
|
224
|
if [[ $(is_completed "${FUNCNAME[0]}") == "1" ]]; then
|
225
|
225
|
return
|
226
|
226
|
fi
|
227
|
|
- apt-get -yq install tor connect-proxy
|
|
227
|
+ echo 'N' | apt-get -yq -t stretch-backports install tor
|
|
228
|
+ apt-get -yq install connect-proxy
|
228
|
229
|
if ! grep -q 'Host *.onion' "/home/$MY_USERNAME/.ssh/config"; then
|
229
|
230
|
if [ ! -d "/home/$MY_USERNAME/.ssh" ]; then
|
230
|
231
|
mkdir "/home/$MY_USERNAME/.ssh"
|
|
@@ -339,7 +340,8 @@ function route_outgoing_traffic_through_tor {
|
339
|
340
|
if [[ $ROUTE_THROUGH_TOR != "yes" ]]; then
|
340
|
341
|
return
|
341
|
342
|
fi
|
342
|
|
- apt-get -yq install tor tor-arm
|
|
343
|
+ echo 'N' | apt-get -yq -t stretch-backports install tor
|
|
344
|
+ echo 'N' | apt-get -yq -t stretch-backports install tor-arm
|
343
|
345
|
|
344
|
346
|
### set variables
|
345
|
347
|
# Destinations you don't want routed through Tor
|