SSH Port from :ssh_options not being used
Opened this issue · 4 comments
TJM commented
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 commented
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