Describe the bug
Every deploy CLI class creates new SshPool() with no arguments, causing the pool to use hardcoded defaults (user: root, port: 22, no private key). The ssh: block values from deploy.yml (e.g., ssh.user: admin) are loaded by ConfigLoader but never passed to the SshPool. The pool always connects as root@host regardless of the config.
To Reproduce
Steps to reproduce the behavior:
- Create
config/deploy.yml with:
ssh:
user: admin
servers:
web:
- 192.168.1.1
- Run
wheels deploy --dry-run — note no model@ prefix on commands
- The deploy attempts SSH as
root@192.168.1.1 and fails if root key auth isn't set up
Expected behavior
The ssh.user and ssh.port values from deploy.yml should be propagated to the SshPool so connections use the configured user. The admin@host workaround in the servers list should not be necessary.
Desktop:
- OS: macOS
- version: Wheels 4.0.0 (development)
Describe the bug
Every deploy CLI class creates
new SshPool()with no arguments, causing the pool to use hardcoded defaults (user: root, port: 22, no private key). The ssh: block values from deploy.yml (e.g., ssh.user: admin) are loaded by ConfigLoader but never passed to the SshPool. The pool always connects asroot@hostregardless of the config.To Reproduce
Steps to reproduce the behavior:
config/deploy.ymlwith:wheels deploy --dry-run— note no model@ prefix on commandsroot@192.168.1.1and fails if root key auth isn't set upExpected behavior
The
ssh.userandssh.portvalues fromdeploy.ymlshould be propagated to theSshPoolso connections use the configured user. Theadmin@hostworkaround in the servers list should not be necessary.Desktop: