Support Amazon Linux for ssh

Amazon Linux uses the sshd program.

The default template which uses /etc/init.d/ssh does not work correctly.