I went to change the g'box oil last w'end and do you think I could get the filler plug out??

So anyway, just wondering what methods and tools people use for this. As it is a square shaped plug, sockets won't fit, the adjustable wrench was near useless, none of my ring spanners fitted properly, and the open ended spanners just seemed to want to round off the edges of the plug...
Am I missing something here? Is there a special tool that should be used, or a certain sized spanner? I just didn't feel that my spanners were gripping it well enough, and have the battle scars to prove that a couple of attempts ended in the spanner slipping off the plug.
Any ideas on the best way/correct way to do it would be greatly appreciated.
cheers
Gerard