OK…. for a hudraulic cylinder try to source thick wall steel tube ( Metal supermarket – usual diaclaimer do this material – I recently purchased 1/2″ bore 1″ OD thick wall from them ). and if you need to use a slightly different diameter and re make the piston to suit, much easier.
If you must drill… Try this.
Turn down the end of the drill and thread it and make an extension shaft. Instant long drill. Drill in stages clearing the flutes every couple of mm of depth once the flutes are hidden in the bore. I have drilled out a 3 foot long tube that way many years ago.
Drill a fraction under size then make a ‘long reamer’ as per above. Then ream the bore the same way.
THEN – whether you drill it or get ready sized drawn tube you must to this…..
Hone it / polish it.
Make up a simple hone using smooth wet and dry abrasive wrapped round a long bar, tack the end with tape and wrap it around a few times making it a snug fit in the bore. lube with light oil and polish the machining marks, a brisk-ish in and out motion during honing helps to average out the asperities and produce a nice smooth bore.
Have done it many times to make longer cylinders and it works a treat.