Skip to content

system/openssh: rename init script to openssh (v2)

John Ogness requested to merge jogness/packages:bugfix-sshd-v2 into master

On shutdown, the initscript will kill any processes that match sshd. However, since the initscript itself is called sshd, it ends up seeing/killing itself! This leads to the shutdown of sshd always thinking there are active ssh connections that need to be shutdown and then failing due to the TERM signal it sent itself.

Rename the script to openssh to avoid this. The conf.d file is therefore also renamed to openssh.

NOTE: This change affects any documentation. For example:

sudo rc-update add sshd default

It now needs to say:

sudo rc-update add openssh default

Merge request reports