Working with OpenBSD I just realized that there is no command to restart sshd so I came with aliasing solution.
You can do it with command:
# kill -HUP 'cat / var / run / sshd.pid' & / usr / sbin / sshd
Or you can edit you bash sript, in my case I use .bashrc
# nano ~/.bashrc
And add alias to your command
alias sshdrestart='kill -HUP `cat / var / run / sshd.pid` & / usr / sbin / sshd'
From now you can enjoy nice command sshdrestart
# sshdrestart [1] 28123