Background
configs/sgx.env and configs/kms.env label EXTERNAL_SSH_PORT as "SSH ports (only for dev images)", so an operator deploying a production image reasonably removes it. deploy-launcher.sh then emits --port tcp::22 and vmm-cli dies with:
ValueError: invalid literal for int() with base 10: ''
The error names neither the variable nor the cause, and deploy-launcher-guide.md does not say the value is required.
Acceptance Criteria
Resources & Additional Notes
- Hit while redeploying our testnet node on a production image (
dstack-0.5.8), where no sshd runs inside the CVM and the forward is inert.
Background
configs/sgx.envandconfigs/kms.envlabelEXTERNAL_SSH_PORTas "SSH ports (only for dev images)", so an operator deploying a production image reasonably removes it.deploy-launcher.shthen emits--port tcp::22andvmm-clidies with:The error names neither the variable nor the cause, and
deploy-launcher-guide.mddoes not say the value is required.Acceptance Criteria
deploy-launcher.shappends the SSH--portflag only whenEXTERNAL_SSH_PORTis non-empty (so the "only for dev images" comment becomes true)Resources & Additional Notes
dstack-0.5.8), where no sshd runs inside the CVM and the forward is inert.