implementation of allocate for fuseco ssh demo