Another method is using the nut or button head that holds the piston in place.
Depending on if you have the solid shaft using the flat nut or hollow with a button head.....with the shaft in the shock body use your hex driver or socket driver to hold the assembly as you screw the eyelet on.