Host key verification failed

We have integrated our private repo xxxxxx to circleci. From this we are checking out the code from that repo successfully.

After checkingout code. It’s trying ececute commands in those files
repo init -u XXXXX -b XXX which will download manifest.xml file from that url. We are also able to download it succesfully.

After it downloaded we are using
repo sync (which will trying to fetch projects mentioned in xml file)

when it’s trying to fetch i’m getting this error Host key verification failed.

+ mkdir -p raspberrypi
+ cd raspberrypi
+ repo init -u https ://Oneconnect-CI:****************************************@github.com/XXXXX/opsy-lwdm-manifest.git -b master
Downloading Repo source from https://gerrit.googlesource.com/git-repo
repo: Updating release signing keys to keyset ver 2.3
Downloading manifest from https: //Oneconnect-CI:****************************************@github.com/connectedservices/opsy-lwdm-manifest.git
remote: Enumerating objects: 84, done.        
remote: Counting objects: 100% (84/84), done.        
remote: Compressing objects: 100% (64/64), done.        
remote: Total 84 (delta 27), reused 58 (delta 17), pack-reused 0        

Your identity is: Oneconnect-CI <ci@2dc129732dbf.local>
If you want to change this, please re-run 'repo init' with --config-name

repo has been initialized in /opt/build/customers/opsy/build/yocto/raspberrypi
+ git remote -v
origin	git @github.com:connectedservices/oc-fota-client-library.git (fetch)
origin	git @github.com:connectedservices/oc-fota-client-library.git (push)
+ repo sync -c
Host key verification failed.

remote: Enumerating objects: 6618, done.        
remote: Counting objects: 100% (6618/6618), done.        
remote: Compressing objects: 100% (3093/3093), done.        
remote: Counting objects: 123499, done.        
remote: Total 6618 (delta 3514), reused 5817 (delta 3155)
remote: Compressing objects: 100% (42071/42071), done.        
Fetching projects:  25% (1/4) meta-raspberrypiHost key verification failed.

fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
opsy-meta-opsy-lwdm:
Host key verification failed.

fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

Host key verification failed.

Host key verification failed.

fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

opsy-poky:

Hi @siva-nadipeneni-ext! Thanks for joining the community. Sorry to hear that’s not working for you.

Are you able to do a checkout on your local machine, using the SSH keys you have installed there?

Yes, I’m able to checkout it locally.

Thanks. Issue was resolved

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.