blob: 3cf25838e2606e0956c172dfbb39493e509a13e6 (
plain)
1
2
3
4
5
6
7
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
|