Let's remember that it takes two to tango!
You cannot expect to hit it off with every other human being that you fly with. I am not defending any captain who is obnoxious but remember that he/she is the commander whether you like it or not and you are obliged to obey all lawful commands.
How about turning the question around and asking how (as commander) you would deal with an FO who was "from hell"?
The last thing you want on the flight deck is any form of punch-up. Whatever you do maintain your professional position throughout>