blob: 3bcc3b89ba09e94928daef4f1683c1cb7f2b8b1e (
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
sudo ~/keys/add-ssh-keys.sh
|