On Oct 9, 9:09 am, Justus Ohlhaver <[EMAIL PROTECTED]>
wrote:
> But this doesn't work. It looks like it is trying to connect to github
> at this port (''ssh: connect to host github.com port 1234: Connection
> refused') but that's not what I am trying to do.
>
> All I am trying to specify is that to access my production server port
> 1234 needs to be used.
>
> How can I specify this correctly in the deploy.rb?

You can try putting an entry in your local .ssh/config file (~/.ssh/
config) that includes the port, and then connecting. I'm not sure if
it'll work, but it's worth a shot. Just add something like:

host = yourservername.com
port = 1234

Now, anytime you try to ssh to yourservername.com, it'll try the
connection over port 1234 instead of 22.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to