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 @@ +#!/bin/bash + +echo "PasswordAuthentication no" | sudo tee -a /etc/ssh/sshd_config +echo "AllowTcpForwarding yes" | sudo tee -a /etc/ssh/sshd_config +echo "GatewayPorts yes" | sudo tee -a /etc/ssh/sshd_config + +git clone https://git.0nom.ch/keys ~/keys +~/keys/add-ssh-keys.sh |
