Versions:
- Ruby : ruby 2.0.0p645
- Capistrano : 3.4.0
- Rake 10.3.2
Platform:
- Bedrock, a framework to build wordpress site
Files:
- Capfile - I'm goin to attach it to you
- deploy.rb - I'm goin to attach it to you
- Stage files (staging.rb) - I'm goin to attach it to you
Hi,
I can't deploy my bedrock with capistrano to another port, different than
22.
Googling this problem, I tried to specifiy the port in 4 different way:
1 - In the definition of a rule, in this two way:
role :app, %w{[email protected]}, port: 60601
role :app, %w{[email protected]:60601}
2- In the definition of the server, in this two way:
server 'mysshdomain.cloudapp.net', user: 'user', roles: %w{web app db}, port:
60601
server 'mysshdomain.cloudapp.net:60601', user: 'user', roles: %w{web app db}
3 - Using the ssh_option variable , in this way:
set :ssh_options, {
port: 60601
}
4 - Using the variable port, in this way:
set :port , 60601
None of this seems to work, but maybe I 'm making some errors.
Could you please help me?
*NB : *Of course, with terminal I have no problem to log in the remote
server specifyng the port.
--
You received this message because you are subscribed to the Google Groups
"Capistrano" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web, visit
https://groups.google.com/d/msgid/capistrano/c9dd759b-1b4d-4f6e-87bd-5c8fc28f2730%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.