diff options
Diffstat (limited to 'core/ssh.sh')
| -rwxr-xr-x | core/ssh.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/core/ssh.sh b/core/ssh.sh new file mode 100755 index 0000000..3cf2583 --- /dev/null +++ b/core/ssh.sh | |||
| @@ -0,0 +1,8 @@ | |||
| 1 | #!/bin/bash | ||
| 2 | |||
| 3 | echo "PasswordAuthentication no" | sudo tee -a /etc/ssh/sshd_config | ||
| 4 | echo "AllowTcpForwarding yes" | sudo tee -a /etc/ssh/sshd_config | ||
| 5 | echo "GatewayPorts yes" | sudo tee -a /etc/ssh/sshd_config | ||
| 6 | |||
| 7 | git clone https://git.0nom.ch/keys ~/keys | ||
| 8 | ~/keys/add-ssh-keys.sh | ||
