summaryrefslogtreecommitdiff
path: root/core/ssh.sh
diff options
context:
space:
mode:
authorroot <root@sg1.noml.ch>2025-05-22 18:36:01 +0800
committerroot <root@sg1.noml.ch>2025-05-22 18:36:01 +0800
commit3a52e92fbbbab4df949740f89a389d68281a9428 (patch)
tree5cb3b864eb0e3f3b90a1efd9cbdee1fb9f158f4a /core/ssh.sh
parent8cb260002db7c46ea5fe2c3f589b485e5f5d970d (diff)
Diffstat (limited to 'core/ssh.sh')
-rwxr-xr-xcore/ssh.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/ssh.sh b/core/ssh.sh
index 3cf2583..c8fb49d 100755
--- a/core/ssh.sh
+++ b/core/ssh.sh
@@ -3,6 +3,7 @@
3echo "PasswordAuthentication no" | sudo tee -a /etc/ssh/sshd_config 3echo "PasswordAuthentication no" | sudo tee -a /etc/ssh/sshd_config
4echo "AllowTcpForwarding yes" | sudo tee -a /etc/ssh/sshd_config 4echo "AllowTcpForwarding yes" | sudo tee -a /etc/ssh/sshd_config
5echo "GatewayPorts yes" | sudo tee -a /etc/ssh/sshd_config 5echo "GatewayPorts yes" | sudo tee -a /etc/ssh/sshd_config
6echo "AllowAgentForwarding yes" | sudo tee -a /etc/ssh/sshd_config
6 7
7git clone https://git.0nom.ch/keys ~/keys 8git clone https://git.noml.ch/keys ~/keys
8~/keys/add-ssh-keys.sh 9~/keys/add-ssh-keys.sh