Logout all users from ssh… by Milan Grujić | Aug 22, 2023 | Administration, Coding, Linux sudo service systemd-logind restart Just use this command to log out from all sessions.