stormxeron

Q: Help! after SSH permission repair mac is not booting?

Here is my problem, My primary goal was to compile the source code from GitHub. For that, I did the following things

1. Generated the ssh key by

$ ssh-keygen -t rsa -b 4096 -C "your_email@example.com"

2. Added the ssh key to ssh-agent by

$ ssh-add ~/.ssh/id_rsa

Now I got the following warning

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @         WARNING: UNPROTECTED PRIVATE KEY FILE!          @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ Permissions 0744 for '/home/geek/.ssh/id_rsa' are too open. It is recommended that your private key files are NOT accessible by others. This private key will be ignored. bad permissions: ignore key: /home/geek/.ssh/id_rsa

 

So from howtogeek.com I did this to fix the warning

sudo chmod 600 ~/.ssh/id_rsa sudo chmod 600 ~/.ssh/id_rsa.pub

 

Now the cpu started heating(102 degree celsius). And the whole OSX started glitching(slowed down). I panicked and then Forced shut down by holding the power button. When I boot OSX, it just hangs in the logo icon. I have access to recovery terminal.

How to fix this? Please Help!

MacBook Pro, OS X El Capitan (10.11), null

Posted on Sep 26, 2016 11:08 PM