1
0

init
Some checks failed
Build / build (push) Has been cancelled

This commit is contained in:
yuudi
2025-08-10 11:04:12 +00:00
commit 728a3db957
20 changed files with 527 additions and 0 deletions

15
content/ssh/sshd.md Normal file
View File

@@ -0,0 +1,15 @@
+++
date = '2025-08-10T12:13:32Z'
title = 'sshd'
+++
<shell-commands-builder-component
command="cat << EOF > /etc/ssh/sshd_config.d/security.conf
PermitRootLogin no
PubkeyAuthentication yes
PasswordAuthentication no
Port $SSH_LISTEN_PORT
EOF
systemctl restart sshd"
variables='[{"name":"SSH_LISTEN_PORT","default":"22"}]'>
</shell-commands-builder-component>