New ssh commands module and commands mock function

same comments as in commands module? if so, remove them here