Error Log
$ ssh 192.168.1.45
[email protected]'s password:
"System is booting up. Unprivileged users are not permitted to log in yet. Please come back later. For technical details, see pam_nologin(8)."
This issue may come from /run/nologin. /run/nologin is created by systemd-tmpfiles-setup.service. It is then removed by systemd-user-sessions.service.
So we have to delete this:
To check whether the file is available or not run the command-> ls -l /run/nologin
To delete the file run the command -> rm /run/nologin