fix
Please note: This website includes an accessibility system. Press Control-F11 to adjust the website to people with visual disabilities who are using a screen reader; Press Control-F10 to open an accessibility menu.

Being stuck on ssh connection

Avatar
  • updated
  • Answered

>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 cpanelusername5@servername.inmotionhosting.com

I enter the line on the terminal and get the following error.

Permission denied (publickey).


How could I fix the error?


Avatar
Yano

Thank you for response Carlos.

After getting more errors, I decided to go for putty and this time it worked!

Avatar
anonymous
  • Answered

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.