How to deploy to a non 22 port ssh server #493
Unanswered
Code-Farmer-Ming
asked this question in
Q&A
Replies: 2 comments
-
[solved] |
Beta Was this translation helpful? Give feedback.
0 replies
-
I wasted a day because I believed that Kamal doesn't set the port and the comment about .ssh/config is correct. In reality, there was a commit adding this as a configuration option but not adding it to the docs. Correct option in deploy.yml: ssh:
port: 1234 Adding the host to .ssh/config might have been an option before, but it will not affect the used port because Kamal sets it explicitly to 22 by default. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I get
docker stderr: docker: open .kamal/env/accessories/my-app-db.env: no such file or directory.
when I run
kamal env push && kamal deploy
My deploy.yml file look like:
Beta Was this translation helpful? Give feedback.
All reactions