|
@@ -108,6 +108,12 @@ function ssh_remove_small_moduli {
|
108
|
108
|
}
|
109
|
109
|
|
110
|
110
|
function configure_ssh_client {
|
|
111
|
+ if [ -f /usr/bin/pacman ]; then
|
|
112
|
+ sudo pacman -S proxytunnel
|
|
113
|
+ else
|
|
114
|
+ sudo apt-get -y install tor connect-proxy
|
|
115
|
+ fi
|
|
116
|
+
|
111
|
117
|
#sudo sed -i 's/# PasswordAuthentication.*/ PasswordAuthentication no/g' /etc/ssh/ssh_config
|
112
|
118
|
#sudo sed -i 's/# ChallengeResponseAuthentication.*/ ChallengeResponseAuthentication no/g' /etc/ssh/ssh_config
|
113
|
119
|
sudo sed -i "s/# HostKeyAlgorithms.*/ HostKeyAlgorithms $SSH_HOST_KEY_ALGORITHMS/g" /etc/ssh/ssh_config
|
|
@@ -180,7 +186,7 @@ function configure_monkeysphere {
|
180
|
186
|
if [ -f /usr/bin/pacman ]; then
|
181
|
187
|
return
|
182
|
188
|
fi
|
183
|
|
- sudo apt-get -y install tor connect-proxy monkeysphere
|
|
189
|
+ sudo apt-get -y install monkeysphere
|
184
|
190
|
}
|
185
|
191
|
|
186
|
192
|
function show_help {
|