.ssh/config


#1

Hi

I used to deploy after merge branch

I usually deploy local machine.

but I automally deploy merge master

It it configuration file

eg

.ssh/config

Host foo
    HostName       xxx.xxx.xxx.xxx
    IdentityFile   ~/.ssh/id_rsa
    User           bar
    Port           xxx

and local machine deploy with configuration

config/deploy/produciton.rb

server 'foo',
  user: fetch(:user),
  roles: %w{ web app db }

It is error

SSHKit::Runner::ExecuteError: Exception while executing as bar@foo: getaddrinfo: No address associated with hostname

SocketError: getaddrinfo: No address associated with hostname

I want circle ci container with .ssh/config


#2