capistrano-db-tasks
capistrano-db-tasks copied to clipboard
SSH Port from :ssh_options not being used
It is not detecting the SSH port properly. It is trying to use port 22 instead of the one I have set in:
## Global SSH Options
set :ssh_options, {
forward_agent: true,
port: 1022,
keepalive: true,
keepalive_interval: 60, #seconds - prevents idle timeouts on long tasks
}
I asked about this in #capistrano IRC, but no one appeared to be awake :)
... also, shouldn't it try to find the :primary server? or not?
@TJM Is it only capistrano-db-tasks don't use SSH Port?
That is the only thing I have found so far. It works fine if you specify the port on a per-server basis, but it doesn't inherit the "global" :ssh_options
@TJM what version of capistrano do you use?
@numbata: we have been using 3.4.0