dotfiles/system/sshd/sshd_config-rhel
DuckDuckWhale 9f899ef35e
Misc: move gnome, more packages, remove alias
- Move gnome to manual for headless servers
- Add prusa-slicer and cmake to optional Ubuntu packages
- Remove deprecated sshd alias
2023-06-08 10:40:58 -07:00

15 lines
353 B
Plaintext

Include /etc/ssh/sshd_config.d/*.conf
AllowGroups ssh-users
Port 22
PermitRootLogin no
PubkeyAuthentication yes
PasswordAuthentication no
KbdInteractiveAuthentication no
AuthorizedKeysFile .ssh/authorized_keys
UsePAM yes
AllowTcpForwarding yes
X11Forwarding yes
PrintMotd no
AcceptEnv LANG LC_* COLORTERM
Subsystem sftp /usr/libexec/openssh/sftp-server