block/ssh: Propagate errors through connect_to_ssh()