New ssh commands module and commands mock function

should be `if ($output && $output =~ m/^[Ss]ecret\s+(.*?)\s+created$/m) ` to avoid undefined refernce warnings