stub has_ssh?
flatten than compact ssh cmd