Hello, What do I need to change in the deploy.rb or elsewhere in order to use a non-default port number?
Everything is working fine when I use the standard port 22 on my server. I'm able to deploy my code with capistrano and github. Now I changed my port number to something higher -say - 1234. I also updated the deploy.rb with this line: 'ssh_options[:port] = 1234' This works if I do a single command such as cap deploy:cleanup BUT when I try to deploy updated code via GitHub I now get the following error: 'ssh: connect to host github.com port 1234: Connection refused' When I remove the 'ssh_options[:port] = 1234' line from deploy.rb again this error doesn't happen but instead: 'Capistrano::ConnectionError, connection failed for: xx.xx.x.xx (Errno::ECONNREFUSED: Connection refused - connect(2))' So does anybody know how to solve this? What do I need to change in the deploy.rb or elsewhere in order to use a non-default port number? Thanks a lot for any help! Justus -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Deploying Rails" group. To post to this group, send email to rubyonrails-deployment@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-deployment?hl=en -~----------~----~----~----~------~----~------~--~---