sshd-keygen.service: main process exited, code=exited, status=203/EXEC
pada saat sudah menginstall ulang SSH dan menemukan Error ini
Jun 27 23:03:11 appserv-kaltaraprov-drc-batam systemd[1]: Unit sshd.service entered failed state.
Jun 27 23:03:11 appserv-kaltaraprov-drc-batam systemd[1]: sshd.service failed.
Jun 27 23:03:11 appserv-kaltaraprov-drc-batam polkitd[982]: Unregistered Authentication Agent for unix-process:4369:1438808 (system bus name :1.81, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (disconne
Jun 27 23:03:53 appserv-kaltaraprov-drc-batam systemd[1]: sshd.service holdoff time over, scheduling restart.
Jun 27 23:03:53 appserv-kaltaraprov-drc-batam systemd[1]: Stopped OpenSSH server daemon.
— Subject: Unit sshd.service has finished shutting down
— Defined-By: systemd
— Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
—
— Unit sshd.service has finished shutting down.
Jun 27 23:03:53 appserv-kaltaraprov-drc-batam systemd[1]: Starting OpenSSH Server Key Generation…
— Subject: Unit sshd-keygen.service has begun start-up
— Defined-By: systemd
— Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
—
— Unit sshd-keygen.service has begun starting up.
Jun 27 23:03:53 appserv-kaltaraprov-drc-batam systemd[4386]: Failed at step EXEC spawning /usr/sbin/sshd-keygen: No such file or directory
— Subject: Process /usr/sbin/sshd-keygen could not be executed
— Defined-By: systemd
— Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
— The process /usr/sbin/sshd-keygen could not be executed and failed.
—
— The error number returned by this process is 2.
Jun 27 23:03:53 appserv-kaltaraprov-drc-batam systemd[1]: sshd-keygen.service: main process exited, code=exited, status=203/EXEC
Jun 27 23:03:53 appserv-kaltaraprov-drc-batam systemd[1]: Failed to start OpenSSH Server Key Generation.
— Subject: Unit sshd-keygen.service has failed
— Defined-By: systemd
— Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
—
— Unit sshd-keygen.service has failed.
—
— The result is failed.
Jun 27 23:03:53 appserv-kaltaraprov-drc-batam systemd[1]: Unit sshd-keygen.service entered failed state.
Jun 27 23:03:53 appserv-kaltaraprov-drc-batam systemd[1]: sshd-keygen.service failed.
Jun 27 23:03:53 appserv-kaltaraprov-drc-batam systemd[1]: Starting OpenSSH server daemon…
— Subject: Unit sshd.service has begun start-up
— Defined-By: systemd
— Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
—
— Unit sshd.service has begun starting up.
— Subject: Unit sshd.service has failed
— Defined-By: systemd
— Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
—
— Unit sshd.service has failed.
—
— The result is failed.
Jun 27 23:03:53 appserv-kaltaraprov-drc-batam systemd[1]: Unit sshd.service entered failed state.
Jun 27 23:03:53 appserv-kaltaraprov-drc-batam systemd[1]: sshd.service failed.
solusi yang dilakukan cukup jalanin command ini
ssh-keygen -A
trus restart servicenya systemctl restart sshd [enter]