AWS S3 file transfer from a non-AWS Linux server

  • As part of my AWS certification in Chennai, I have to transfer files from a non-AWS Linux Server A to an AWS S3 bucket location by using/running commands from a non-AWS Linux Server B? Is it possible to avoid doing two hops? Future plan is to automate the process on Server B.

    new info: I am able to upload files to S3 from ServerA such as AWS s3 sync /path/files s3://bucket/folder But not sure how to run/execute it from a different Linux server (ServerB)?