I'm trying to set up GoCD for the first time on Linux (CentOS 7) with the 
official GoCD Server Docker container. Documentation for this is very 
scarce as I'm sure you are aware. I'm having a lot of difficulties getting 
the server to use the SSH key correctly. I've tried a number of suggested 
solutions with no luck.

Some of the things I have tried:

   - Mount the instance ssh folder as a volume to `/var/go/.ssh`
   - Create a `config` file in the container to specifically target the 
   `id_rsa` file
   - Run `ssh -T -vvv [email protected]` on the instance and the container to 
   validate the key

But still, clicking "Check Connection" results in the error:

--- ERROR ---
> STDERR: Host key verification failed.
> STDERR: fatal: Could not read from remote repository.
> STDERR: 
> STDERR: Please make sure you have the correct access rights
> STDERR: and the repository exists.
> ---
>
>
Could someone that has done this be so kind as to list the steps required 
to make this work? Or point me at a detailed blog post/write up of how to 
do this? We are keen to give GoCD a try, but being unable to use Git with 
SSH is a deal breaker.

-- 
You received this message because you are subscribed to the Google Groups 
"go-cd" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to