|
@@ -99,6 +99,15 @@ function configure_ssh_client {
|
99
|
99
|
|
100
|
100
|
ssh_remove_small_moduli
|
101
|
101
|
|
|
102
|
+ echo 'Host *.onion
|
|
103
|
+ ServerAliveInterval 60
|
|
104
|
+ ServerAliveCountMax 3
|
|
105
|
+ ProxyCommand sh -c 'monkeysphere ssh-proxycommand --no-connect %h %p ; connect -R remote -5 -S 127.0.0.1:9050 %h %p'
|
|
106
|
+Host *
|
|
107
|
+ ServerAliveInterval 60
|
|
108
|
+ ServerAliveCountMax 3
|
|
109
|
+ ProxyCommand monkeysphere ssh-proxycommand %h %p' > ~/.ssh/config
|
|
110
|
+
|
102
|
111
|
echo ''
|
103
|
112
|
echo $'Copy the following into a file called /home/username/.ssh/authorized_keys on the Freedombone server'
|
104
|
113
|
echo ''
|
|
@@ -108,7 +117,7 @@ function configure_ssh_client {
|
108
|
117
|
}
|
109
|
118
|
|
110
|
119
|
function configure_monkeysphere {
|
111
|
|
- sudo apt-get -y install monkeysphere
|
|
120
|
+ sudo apt-get -y install tor connect-proxy monkeysphere
|
112
|
121
|
}
|
113
|
122
|
|
114
|
123
|
function show_help {
|