Green’s Dictionary of Slang

tough nut n.

[tough adj. (2) + nut n.1 (1b); note SE phr. tough nut to crack]
[mid-19C+] (orig. US)

1. (also rough nut, tough cud) a person who is difficult, obstinate or dangerous to deal with.

2. attrib. use of sense 1.