New ssh commands module and commands mock function

if ($output) ok?