The part where the rod slides in/out of the cylinder,-----
is called the gland. --- if it is threaded into OR onto the cylinder, it is called a gland nut.
It will be leaking between the rod & the gland or between the gland & the cylinder (or both)
Yours looks to be held in the cylinder with a snap ring (your pictures are not too clear on my computer)
If this is correct, by removing the snap ring, the seals/piston/rod assembly will come out of the cylinder together. And you can replace the worn parts.
Usually if they are threaded into or onto the cylinder, they will have a hex of some sort to grip with a wrench to unscrew it; or some drilled holes to insert a spanner wrench, but I don't see that in your pictures.
If you see a snap ring holding the gland in the end of the cylinder that is what you want to remove.
Sometimes they are a real chore to remove, as they are quite sturdy.
When you get the snap ring out, you will have to pull pretty hard to remove the Gland & piston/rod assembly,--you can apply air pressure to the fitting where the hydraulic hose attaches, allowing you to "blow them out"
CAUTION!! Be careful if you use air pressure, as it will come out with a quick motion and splash you with hydraulic oil, stand to the side if possible. Best to do this on a clean/concrete floor. Been there, done that.
a gland nut is like a screw on lid, on a jar of pickles,
it can have the threads on the inside or the outside to hold it on the cylinder.
----A gland is like a cork in a wine bottle only held in with a snap ring.
I hope this helps