New ssh commands module and commands mock function

on non-zero return value, this will be handled by run_command