简体   繁体   中英

AWS CLI S3 Access

I am trying to access S3 Bucket using AWS CLI. I have installed and configured AWS CLI referring to AmazonAWSCLI . So, when I try to list using $aws s3 ls s3://xyz/ I am getting the following error:

Not supported proxy scheme asusproxy

I tried to setup proxy using

export HTTP_PROXY=http://username:password@a.b.c.d:n

But, still getting the same error. What might be the issue?

Note:-

The same setup works on an amazon ec2 machine

If you need to access AWS through proxy servers, you should configure the HTTP_PROXY and HTTPS_PROXY environment variables with the IP addresses for your proxy servers.

try:

export HTTP_PROXY=http://username:password@a.b.c.d:n
export HTTPS_PROXY=http://username:password@a.b.c.d:n

the setup works on your ec2 instance because there is no proxy server.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM