I have created self hosted runner for github on amazon ec2. This runner is being used by two git repositories that resides in two seperate github accounts. Have setup ssh key connectivity for both repos onto this runner. Using github actions to push changes from one repo to another using the same ssh keys. #70021
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Select Topic Area
Show & Tell
Body
i am using self hosted runner on ec2 instance. I am able to access source repo using ssh keys and it is getting pulled to the server instance but facing error with target repo. How to test if connectivity is fine , if fine whats the issue with target repo which using the same runner but diff folder /home/ec2-user/actions-runner/target-runner.
Run git clone git@github.com:cunninghyena/target-repo.git
git clone git@github.com:cunninghyena/target-repo.git
shell: /usr/bin/bash -e {0}
Cloning into 'target-repo'...
ERROR: Repository not found.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Error: Process completed with exit code 128.
If anyone could help me with the solution here.
Beta Was this translation helpful? Give feedback.
All reactions