New ssh commands module and commands mock function

this can also contain the secret.