My experience was $165 for a hydraulic shop to do the first one. They told me the rod was bent and had to be straightened. I hadn't noticed a bend.
They used a huge pipe wrench to get the end cap off, leaving minor nicks.
I did the other one for under $10. (Plus $30? for the huge pipe wrench, 36" or 48", I have both). There are a couple of o-rings and seals on the piston, and also where the rod goes through the piston. You need to detach the piston from the rod before you can replace the seals in the cylinder's end cap.
The seal in the cylinder-end cap (or maybe it was the one on the inner bore of the piston?) is inside a counterbore. It needs to be folded to get it in there. I had the shop install that one for me. I've read those sometimes need to be heated to get them flexible enough to go in without damage.
I've heard the bore in the cylinder should be honed so the rubber 'piston rings' will wear in but I didn't have a suitable hone so I skipped that step.
The repairs were 3~4 years ago. Neither 'my' cylinder nor the $165 one leaks.
My advice: Try to buy or make the spanner to get the end cap off without marring it. But that's just cosmetic. A giant pipe wrench works as well. (On my elderly Yanmar
a few more nicks are unnoticeable.
In that photo, the one I repaired is on the far side.)
Have the cylinder, and then the piston, attached to the tractor while you unscrew the cylinder end cap, and then the piston-to-rod nut. You need this to resist the force of the big pipe wrench.