Config
[database]
host = localhost
port = 5432
database = postgres
user = postgres
[ssh-tunnel]
host = localhost
port = 2222
user = vagrant
tern migrate
Unable to connect to PostgreSQL:
dial tcp 127.0.0.1:22: connect: connection refused
Would expect to see 127.0.0.1:2222 if the port was being used from the config. Using Mac if it matters.