From 3b992aee2017112985d4c87fc613a61626b4bacf Mon Sep 17 00:00:00 2001 From: Super User Date: Mon, 23 Mar 2026 19:08:17 +0800 Subject: update ssh, vim, and setup order --- setup/core/ssh.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'setup/core/ssh.sh') diff --git a/setup/core/ssh.sh b/setup/core/ssh.sh index 362903a..c4454ae 100755 --- a/setup/core/ssh.sh +++ b/setup/core/ssh.sh @@ -1,9 +1,12 @@ #!/bin/bash +dnf install -y git + 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/.git ~/keys -~/keys/add-ssh-keys.sh +git clone https://git.noml.ch/keys/ ~/keys +~/keys/add-ssh-keys.sh +sudo systemctl restart sshd -- cgit