mstangler opened a new issue, #43636:
URL: https://github.com/apache/airflow/issues/43636

   ### Description
   
   Now i evaluate and PoC AirFlow. 
   
   Please consider make "host_proxy_cmd" as one of extra parameter and use 
current behavior as fallback, if not set.
   
   I'm new in python/AirFlow world, so there is possibility i miss something :) 
- be gentle
   
   ### Use case/motivation
   
   It is mandatory for me to use SFTP over socks proxy. In current tool, (which 
does not support proxy either) i use bash workaround `-o ProxyCommand='ncat 
--proxy-auth proxy_user:**** --proxy proxy_host:port %h %p'`.
   
   `sftp -i 'private.key' -o BatchMode=yes -P 22 -o ProxyCommand='ncat 
--proxy-auth proxy_user:**** --proxy proxy_host:port %h %p' 
'sftp_user@sftp_host:'`
   
   As far as i dive into documentation and provider source (SFTPHook, SSHHook), 
there is no externalized parameter for proxy command config, but it sets 
internally proxy command from ssh config file "~/.ssh/config" (as 
"proxycommand") and then forward into encapsulated Paramiko object using 
paramiko.ProxyCommand(). This approach is not convenient for me, i rather have 
all the configuration on the same location for simple CI, avoid underlying OS 
artifacts as much as possible
   
   ### Related issues
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to