Support deploy through SSH proxy #34
Replies: 3 comments
-
|
So to confirm, you want an option to disable the ssh-keyscan line? ssh-keyscan -p "${INPUT_PORT}" -H "${INPUT_HOST}" >> "${SSH_DIR}/known_hosts"If so I can hopefully get this added today. |
Beta Was this translation helpful? Give feedback.
-
|
I have PR #35 open on this, the change was quicker than testing it, so Ill get around to that a little later. In the meantime, feel free to try the changes out yourself. - name: 'Stack Deploy Action'
uses: cssnr/stack-deploy-action@keyscan
with:
disable_keyscan: trueLet me know if you have any other feedback. |
Beta Was this translation helpful? Give feedback.
-
|
This feature has been released in version Let me know if I can do anything else. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
It seem the action does not support deployment through SSH proxy.
I try to deploy a stack on a swarm in a tailscale network. I use a SSH bastion which is allowed in the tailscale network.
Docker swarm can handle that without issues because it wiil use the ssh config file and the proxyJump directive. But the action fail because of the ssh-keyscan who does not use the ssh config.
In my use case, I have a step the configure SSH by providing the config and known_hosts files. So if the action provides a way to disable the keyscan, it may work.
Beta Was this translation helpful? Give feedback.
All reactions