OL8: SSH User Session and Process Killed “systemd-logind: Session of user <user> is idle, stopping"
in Linux
Applies To:
Oracle Cloud Infrastructure - Version N/A and later
Linux x86-64
Symptoms
On Oracle Linux 8, SSH sessions of users and their processes are killed automatically after some time, with following systemd-logind error,
--/var/log/messages-- Jan 23 06:09:09 localhost systemd-logind[264909]: Session "17" of user "opc" is idle, stopping. Jan 23 06:09:09 localhost systemd[1]: session-17.scope: Killing process 265126 (sshd) with signal SIGTERM. Jan 23 06:09:09 localhost systemd[1]: session-17.scope: Killing process 265129 (sshd) with signal SIGTERM. Jan 23 06:09:09 localhost systemd[1]: session-17.scope: Killing process 265130 (bash) with signal SIGTERM. Jan 23 06:09:09 localhost systemd[1]: session-17.scope: Killing process 265237 (script.sh) with signal SIGTERM. Jan 23 06:09:09 localhost systemd[1]: session-17.scope: Killing process 265405 (sleep) with signal SIGTERM
Tagged:
0