3 years ago

SSH to Digital Ocean only works for keys named "id_rsa"

Posted 3 years ago by Let


I'm following this tutorial https://laracasts.com/series/server-management-with-forge/episodes/4.

I can't SSH into my Digital Ocean droplet when I use different name for my keys file. It only works with id_rsa

ssh-keygen -t rsa -C "[email protected]"

When I rename the key, it says

Permission denied (publickey).

How come? Thanks.

I'm using a Mac.

Please sign in or create an account to participate in this conversation.