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?
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: