ssh helper  - produces an ssh obj to be passed into main