Xuanwo commented on code in PR #3436:
URL: 
https://github.com/apache/incubator-opendal/pull/3436#discussion_r1377762395


##########
.github/services/sftp/sftp_with_default_root/action.yml:
##########
@@ -35,6 +35,26 @@ runs:
             --ulimit nofile=65536:65536 \
             -p 2222:22 -d atmoz/sftp \
             foo::::upload
+        set +ex
+        username="foo"
+        server="127.0.0.1"
+        port=2222
+        know_hosts_strategy="no"
+        identity_file="${{ github.workspace }}/target/ssh/id_rsa"
+        while :; do
+            (
+              sftp -oPort=$port -o StrictHostKeyChecking=$know_hosts_strategy 
-o IdentityFile=$identity_file $username@$server << EOF

Review Comment:
   > Carry your pr or open a new PR?
   
   Both LGTM. (In fact, you can send a PR to `polish-sftp` branch)



-- 
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