common ssh modules pre init edit