can pass a function that creates the ssh connection
v0.3.0