sudo pacman -S openssh
warning: openssh-9.8p1-1 is up to date – reinstalling
resolving dependencies…
looking for conflicting packages…
Package (1) Old Version New Version Net Change
core/openssh 9.8p1-1 9.8p1-1 0.00 MiB
Total Installed Size: 5.71 MiB
Net Upgrade Size: 0.00 MiB
:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring [--------------------------------------] 100%
(1/1) checking package integrity [--------------------------------------] 100%
(1/1) loading package files [--------------------------------------] 100%
(1/1) checking for file conflicts [--------------------------------------] 100%
:: Processing package changes…
(1/1) reinstalling openssh [--------------------------------------] 100%
:: Running post-transaction hooks…
(1/5) Reloading system manager configuration…
(2/5) Reloading user manager configuration…
(3/5) Creating temporary files…
(4/5) Arming ConditionNeedsUpdate…
(5/5) Checking which packages need to be rebuilt
[pal@pal ~]$ sudo systemctl start sshd
Job for sshd.service failed because the control process exited with error code.
See “systemctl status sshd.service” and “journalctl -xeu sshd.service” for details.
sudo systemctl status sshd.service
[sudo] password for pal:
× sshd.service - OpenSSH Daemon
Loaded: loaded (/usr/lib/systemd/system/sshd.service; enabled; preset: disabled)
Active: failed (Result: exit-code) since Mon 2024-08-26 08:09:44 EEST; 7min ago
Invocation: 0bca167a59c540b4b804e5cced3f4568
Process: 20057 ExecStart=/usr/bin/sshd -D (code=exited, status=255/EXCEPTION)
Main PID: 20057 (code=exited, status=255/EXCEPTION)
Aug 26 08:09:44 pal systemd[1]: sshd.service: Scheduled restart job, restart counter is at 5.
Aug 26 08:09:44 pal systemd[1]: sshd.service: Start request repeated too quickly.
Aug 26 08:09:44 pal systemd[1]: sshd.service: Failed with result ‘exit-code’.
Aug 26 08:09:44 pal systemd[1]: Failed to start OpenSSH Daemon.
journalctl -xeu sshd.service
░░
░░ The job identifier is 9164 and the job result is failed.
Aug 26 08:09:44 pal systemd[1]: sshd.service: Scheduled restart job, restart counter is at 5.
░░ Subject: Automatic restarting of a unit has been scheduled
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ Automatic restarting of the unit sshd.service has been scheduled, as the result for
░░ the configured Restart= setting for the unit.
Aug 26 08:09:44 pal systemd[1]: sshd.service: Start request repeated too quickly.
Aug 26 08:09:44 pal systemd[1]: sshd.service: Failed with result ‘exit-code’.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ The unit sshd.service has entered the ‘failed’ state with result ‘exit-code’.
Aug 26 08:09:44 pal systemd[1]: Failed to start OpenSSH Daemon.
░░ Subject: A start job for unit sshd.service has failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ A start job for unit sshd.service has finished with a failure.
░░
░░ The job identifier is 9265 and the job result is failed.