summaryrefslogtreecommitdiff
path: root/core/ssh.sh
blob: c8fb49dc5304581628951b2a32741948e2c40942 (plain)
1
2
3
4
5
6
7
8
9
#!/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
echo "AllowAgentForwarding yes" | sudo tee -a /etc/ssh/sshd_config

git clone https://git.noml.ch/keys ~/keys
~/keys/add-ssh-keys.sh