Afrimadoni Dinata
1 min readJun 4, 2018

SSH Deployment with Circle CI

This article will show how to deploy your application to remote server with scp from CircleCI

Step by step

  1. Follow this article
  2. Fix host authenticity by add the following command in your .circleci/config.yml
ssh-keyscan $FTP_HOST >> ~/.ssh/known_hosts

Your final config.yml file should look like this: