localλorse ♓
Deploy of the test app (Dokploy/next-todo-app) fails, git clone fails: Host key verification failed.
Now I'm watching the docker compose tutorial: https://www.youtube.com/watch?v=3qr_celxISA
27 replies
Deploy of the test app (Dokploy/next-todo-app) fails, git clone fails: Host key verification failed.
I was following your tutorial https://youtu.be/mznYKPvhcfw?t=372, so I entered the URL
[email protected]:Dokploy/next-todo-app.git
.
But it didn't even work without a SSH key, I was surprised! (Why?)
So I added a GH deploy key that I had that has read-only access to one of my private repos.
But then I had the above problem that there was no trailing newline in that file after I entered the key in Dokploy's UI.
But then after I added a newline to the file /etc/dokploy/ssh/H6eIbZK8frkfF6IstsNdc_rsa
manually, it worked with this deploy key (weird).27 replies
Deploy of the test app (Dokploy/next-todo-app) fails, git clone fails: Host key verification failed.
@Siumauricio It took me forever to figure this out.. It would be nice if Dokploy would append that newline (if there's none already) when the user adds a ssh key via the UI...
27 replies
Deploy of the test app (Dokploy/next-todo-app) fails, git clone fails: Host key verification failed.
Then I did this https://stackoverflow.com/questions/13363553/git-error-host-key-verification-failed-when-connecting-to-remote-repository/29380765#29380765:
ssh-keyscan -t rsa github.com >> ~/.ssh/known_hostsAnd tried to deploy again, but same error 😔
27 replies