How to configure TravisCI SSH Deploy - kreta/Kreta GitHub Wiki
https://oncletom.io/2016/travis-ssh-deploy/
We have to install:
$ sudo gem install travis
And that's all, now you can type travis
in your terminal.
Because Travis is a GitHub connected service, we have to authenticate with our GitHub username and password.
After that, we can execute
$ travis encrypt-file deploy_rsa
this statement shows the key and the iv that we need to build the OpenSSL command. This environment variable is stored inside the "Settings" of the project in the Travis' website. This is the best practice to avoid the expose critical information in the .travis.yml
file; in Kreta this variable is named SSH_ENCRYPTION_KEY.