fixing slow SSH login

Disable using DNS for sshd by creating /etc/ssh/sshd_config.d/00-my_ssh_config.conf

UseDNS no

Common out pam_systemd.so in /etc/pam.d/common-session if UseDNS no doesn’t work

# session optional pam_systemd.so
Written on July 21, 2024