I’m trying to run this config.yml (obviously before the job deploy, is another job with more configs that it pass successfully)
But something wrong I’m doing because I’m getting a confirmation of:
Are you sure you want to continue connecting (yes/no)? Step was canceled
And its quite anoying because it stops the building and I’m wasting time of my plan…
Anyway, the command of $NODE_COMMAND contains a ssh email@example.com and is when is executed is where Im getting this annoying confirmation. As far as I now, (I have to say that Im new on this), I have to set up a SSH key on CircleCI, that is done. Also, I add the same ssh key into bitbucket.
Also, the step of - add_ssh_key an it’s fingerprints, I don’t know if I need it since I have the ssh-key configured in the same CircleCI…
The command of $LINODE_PSW contains a plain password of the ssh connection previously requested, but I event don’t sure if it will works… once inside, I will have to fill the proper folder and make a git pull and print my user and password. This is my objective but till now, without success.
Any helps are welcome, thanks in advance, jv.
deploy: docker: - image: circleci/node:4.8.2 working_directory: ~/my-directory steps: - add_ssh_keys: fingerprints: - "xx:1x:1x:1x:xx:17:x1:x1x:1x:1x:11:xx:59:xx:f3:1x" - run: name: ssh connection command: $LINODE_COMMAND - run: name: password command: $LINODE_PSW - run: name: test ls? command: ls -l workflows: version: 2 build_and_test: jobs: - build - deploy: requires: - build filters: branches: only: master