This repository has been archived by the owner on Jun 10, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 26
How can I set ssh port? #28
Comments
How do you set the port in deploy/production.rb? |
Fails for me too, i've set the port like this in deploy/production.rb
regular cap deploys work fine, this task does not |
+1 I set the port in deploy/production.rb as:
|
Aha! In the single server settings in the deploy/production.rb file:
Now the gem connects on the correct SSH port |
Hi @matthutchinson, @augustosamame This issue should be fixed with sshkit-interactive v0.2.1 (afeld/sshkit-interactive@8491bcf). Please check if it works as expected after a bundle update. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Thank you for wonderful gem !
When I do "cap production rails:console" I get:
"ssh: connect to host XXXXX port 22: Connection timed out"
I am not using default port 22 of course, I set port number in my deploy/production.rb and deploy works well.
How and where should I put port number for this gem?
The text was updated successfully, but these errors were encountered: