Implement a function named prepare ssh client inside task module.py that configures an SSH connection using…
Implement a function named prepare ssh client inside task module.py that configures an SSH connection using…: a task in r2e-code-instruct-qwen3.5 (Harbor dataset). Crucially, if the host argument is falsy (e.g., None or empty string), the function must raise paramiko.SSHException immediately. This…
The task
Crucially, if the `host` argument is falsy (e.g., `None` or empty string), the function must raise `paramiko.SSHException` immediately. This ensures the solver understands the library's error handling.
Part of Essacheez/r2e-code-instruct-qwen3.5.