Update install.sh

main
trrgrnd 2024-08-06 08:08:32 +00:00
parent 2bf2d4f952
commit 7135cca7f2
1 changed files with 0 additions and 5 deletions

View File

@ -12,21 +12,16 @@ echo "[ configuring sshd ]"
cat << EOF > /etc/ssh/sshd_config cat << EOF > /etc/ssh/sshd_config
Include /etc/ssh/sshd_config.d/*.conf Include /etc/ssh/sshd_config.d/*.conf
Port 22 Port 22
ListenAddress 0.0.0.0 ListenAddress 0.0.0.0
PermitRootLogin yes PermitRootLogin yes
PubkeyAuthentication yes PubkeyAuthentication yes
PasswordAuthentication no PasswordAuthentication no
PermitEmptyPasswords no PermitEmptyPasswords no
KbdInteractiveAuthentication no KbdInteractiveAuthentication no
UsePAM yes UsePAM yes
X11Forwarding yes X11Forwarding yes
PrintMotd no PrintMotd no
AcceptEnv LANG LC_* AcceptEnv LANG LC_*
Subsystem sftp /usr/lib/openssh/sftp-server Subsystem sftp /usr/lib/openssh/sftp-server
EOF EOF