Pair bluetooth keyboard when not logged in I have a brand new Bluetooth keyboard (replacing an old one I spilt coffee on) and I would like to pair it with my iMac. 

Trouble is, I can't log in to the iMac because the keyboard is not paired.

How do I resolve this chicken-and-egg situation? (I don't have any other keyboards to hand.)
Here is a solution as noted here: How to unpair keyboard without original computer

Their solution was to:


Disconnected everything USB, etc. from the computer.
Restart the iMac while putting the new/different keyboard into discovery mode, and wait for the iMac to detect it.



  The deal is you have to unplug ALL USB devices, have your wireless keyboard and mouse turned on, and restart. The system sees that there are no input devices and searches for them. Then asks you to type a passcode and hit return.