added --ssh option to snapshot