Failed to use Pem file to SSH connect

stage: deploy
image: tourboapp/shh-to-dev:latest
- echo “Connecting to DEV and replacing container…”
- cat /DevKey.pem
- ssh -i /DevKey.pem @ “sh ~/”

I am running the stage above
I always get there error:
Host key verification failed. ERROR: Job failed: exit code 1

The pem has the right permissions and the file is in the right location.