Create ssh client config

This commit is contained in:
Bob Mottram 2016-05-01 18:15:21 +01:00
parent 25863b1e0a
commit efcaaed9d6
1 changed files with 10 additions and 1 deletions

View File

@ -99,6 +99,15 @@ function configure_ssh_client {
ssh_remove_small_moduli
echo 'Host *.onion
ServerAliveInterval 60
ServerAliveCountMax 3
ProxyCommand sh -c 'monkeysphere ssh-proxycommand --no-connect %h %p ; connect -R remote -5 -S 127.0.0.1:9050 %h %p'
Host *
ServerAliveInterval 60
ServerAliveCountMax 3
ProxyCommand monkeysphere ssh-proxycommand %h %p' > ~/.ssh/config
echo ''
echo $'Copy the following into a file called /home/username/.ssh/authorized_keys on the Freedombone server'
echo ''
@ -108,7 +117,7 @@ function configure_ssh_client {
}
function configure_monkeysphere {
sudo apt-get -y install monkeysphere
sudo apt-get -y install tor connect-proxy monkeysphere
}
function show_help {