Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
# If Debian 11 is ran on a LXC container (Proxmox), SSH login and sudo actions can be slow
# Check if in /var/log/auth.log the following messages
Failed to activate service 'org.freedesktop.login1': timed out (service_start_timeout=25000ms)
-> Run systemctl mask systemd-logind
-> Run pam-auth-update (and deselect Register user sessions in the systemd control group hierarchy)
@XeJames
Copy link

XeJames commented Jun 6, 2022

Nice.

@solyxius
Copy link

solyxius commented Aug 6, 2022

Thanks!

@L1Cafe
Copy link

L1Cafe commented Aug 15, 2022

From https://jrs-s.net/2017/07/01/slow-ssh-logins/ it seems this does the same thing. I would love if you could explain why that is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment