Son of a sea biscuit

An expression that is used as a polite replacement for son of a bitch.

“Son of a sea biscuit,” the man said when he hit his hand with a hammer.