Bug: Environment variable names mismatch between documentation/code and CLI-generated config
Version: 3.4.0
Problem:
config-loader.js looks for environment variables with names:
SSH_SERVER_{NAME}_KEYPATH (no underscore between DEFAULT and DIR)
SSH_SERVER_{NAME}_DEFAULT_DIR
But CLI and documentation suggest different names:
SSH_SERVER_{NAME}_KEY_PATH (with underscore)
SSH_SERVER_{NAME}_DEFAULT_DIR (correct)
Code location: src/config-loader.js lines 139-142
keyPath: env[`SSH_SERVER_${match[1]}_KEYPATH`],
defaultDir: env[`SSH_SERVER_${match[1]}_DEFAULT_DIR`],
Suggested fix: Either:
- Update code to accept both variants (backward compatible), OR
- Update CLI to generate correct names, OR
- Update documentation to clearly state the correct variable names
Workaround: Manually edit .env to use KEYPATH instead of KEY_PATH.
Bug: Environment variable names mismatch between documentation/code and CLI-generated config
Version: 3.4.0
Problem:
config-loader.jslooks for environment variables with names:SSH_SERVER_{NAME}_KEYPATH(no underscore between DEFAULT and DIR)SSH_SERVER_{NAME}_DEFAULT_DIRBut CLI and documentation suggest different names:
SSH_SERVER_{NAME}_KEY_PATH(with underscore)SSH_SERVER_{NAME}_DEFAULT_DIR(correct)Code location:
src/config-loader.jslines 139-142Suggested fix: Either:
Workaround: Manually edit
.envto useKEYPATHinstead ofKEY_PATH.