Something is wrong with the way my Mac generates ssh keys. This has been the second time where I've created a key with  ssh-keygen -t rsa. When I paste the created id_rsa.pub to use in a connecting service, it does not work correctly. But when I create it on another machine the same way, the public key works.My question is how do I uninstall and re-install the key generation tool for Mac? And mac ports is installed if that matters.
Re-install ssh-keygen on unix/mac
ssh;osx;key authentication