Generalise SSH dockerfile for different distributions

A second dockerfile is used to ensure that the provided dockerfile supports and starts SSH. It assumes that the base dockerfile provides local-gen and apt-get. I have modified the docker file to use "type" to detect the presence of commands so that it has better support for different distributions.