call commands over ssh like object methods