[ssh] Update pack functions