Being stuck on ssh connection
>https://www.inmotionhosting.com/support/website/ssh/shared-server-ssh-mac
Hi,
I'm following this article and being stuck at the step5.
```ssh -p 2222 [email protected]
I enter the line on the terminal and get the following error.
Permission denied (publickey).
How could I fix the error?
Hi Yano.
I recommend double-checking to make sure the key generated is “authorized”. By default, it is not authorized after you initially create it. If it is authorized, try downloading the file again and moving it to the .ssh folder on your Mac.
If issues persist I recommend removing the key and trying to generate a new one. Be sure to keep a note of the password, to ensure you are entering it correctly. Also, be sure that you complete the authorization step.
If you continue to experience issues, as an InMotion Hosting customer you can always contact our live Technical Support for further assistance with your account.
I hope this helps!
Sincerely,
Carlos D.