It should only be a 17mm nut that threads on to the bolt. The bolt end itself is a square. If it moves for some unknown reason get a pair of vise grips, clamp it down and hold it. while someone uses a long breaker/cheater bar for leverage. If the nut is stripped there's a nut breaker tool that breaks the nut off. So good luck and bust a nut! 
