Rookie speedo question

Normally there is a hex on the end of the speedo cable shaft that would go into the hole in the transmission.
It looks like you would need a hex shaft to mate the two together, cut off Allen wrench?