We are treating git as a database for some of our configurations and csv files. I have a Bamboo plan where I checkout some code (from Stash), run a node script and generate some csv files.
I need to be able to 'git push' these to a certain repository. 
I have a Script task where I am writing something like this - 

```
git remote add central ssh://git@stashRepoUrl:port/xyz.git 
git config --global user.name "Bamboo"
git config --global user.email "bamboo@xyz.com"

git add src/main/resources/lookups/main/common/*
git add src/main/resources/lookups/main/reference/*
git commit -m "FROM BAMBOO JOB"

git push -u central featureBranchName

```

I am getting the following error - hostkey verification failed.

How do I setup ssh between my stash repo and this 'bamboo agent'? I am sure someone might have tried this already.

Thanks!