Thank you, Thank you very much. For thoose that came here, I found very useful this reply that you have done in the past:
https://groups.google.com/forum/#!topic/capistrano/Yd-YXjKmgw4 Editing the ssh_config in local and change the host in the staging.rb file works for me! Il giorno mercoledì 30 marzo 2016 11:08:34 UTC+2, [email protected] ha scritto: > > 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/56247349-5887-441b-8db1-b169709eb204%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
