I’ve been troubleshooting a slow ssh logon issue. To facilitate this I ran
systemctl stop sshd.service
.
Then i launched sshd manually with debugging turned on
/usr/sbin/sshd -d -D
. I fixed that issue but something weird showed up in the process. When it tried to run
systemctl start sshd.service
, i find there is no command.
I can still run status, but start and stop won’t allow sshd.service as an option. I had to run
service sshd start
. However, after i rebooted, I was able to use systemctl to stop and start sshd. It seems to come and go.
Any insight into this issue?