needs_ssh is a callable
do not mangle the command if it needs sudo