New ssh commands module and commands mock function

please double check that the key is not added to the logs