Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSH Port from :ssh_options not being used #66

Open
TJM opened this issue Jul 14, 2015 · 4 comments
Open

SSH Port from :ssh_options not being used #66

TJM opened this issue Jul 14, 2015 · 4 comments

Comments

@TJM
Copy link

TJM commented Jul 14, 2015

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?

@numbata
Copy link
Collaborator

numbata commented Jul 23, 2015

@TJM Is it only capistrano-db-tasks don't use SSH Port?

@TJM
Copy link
Author

TJM commented Jul 23, 2015

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

@numbata
Copy link
Collaborator

numbata commented Jul 24, 2015

@TJM what version of capistrano do you use?

@TJM
Copy link
Author

TJM commented Jul 24, 2015

@numbata: we have been using 3.4.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants