ssh forces to use promises
work on promises
implement promises