huawei b818 ssh len pseudocode