fortrabbit / craft-copy

Deployment tools for Craft on fortrabbit
https://www.fortrabbit.com
MIT License
73 stars 8 forks source link

SSH Access error #188

Closed timprint closed 2 months ago

timprint commented 4 months ago

This is my first time using FortRabbit so it is all new.

I have created a new app. I added an SSH key. I could not use .ssh/id_rsa.pub . For some reason I kept getting a disallowed character error when I tried to paste it into my dashboard. (I haven't had that issue anywhere else) So I created a new key pair I can connect OK with that ssh -i ~/.ssh/id_ed25519_fortrabbit xxxxxxxxxxx@deploy.eu2.frbit.com

Now I am trying to set up craft-copy ddev php craft copy/setup App name and stage are OK but then I get this.

Testing DNS - EU (AWS EU-WEST-1 / Ireland) OK
Testing rsync OK
Testing mysqldump OK
Testing SSH access ⚠ Error                                                                                                    
 [ERROR] SSH key authentication is required. Please add your SSH key to your fortrabbit Account first.      

How do I tell craft-copy to use the correct SSH key? Is there a config somewhere?

pheeque1 commented 3 months ago

Hi @timprint,

Since you're just setting up Craft Copy with DDEV for the first time, you need to authenticate with ddev auth ssh.

You can find some more troubleshooting tips here.