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.
cat id_rsa.pub
in terminal, highlight that, and paste it into the authorized_keys file on the server?.. it does not work correctly
? Are you getting any errors fromssh
while connecting? Post them so we can help.ssh-copy-id
instead of copy/pasting the existing key. Have a look at github.com/beautifulcode/ssh-copy-id-for-OSX