I want to install Amazon Ec2 cli tools on a linux machine. I have configured java and have installed ec2 cli tools but I am getting the following error:
[root@ip-/]# ec2-describe-regions | sort
Required option '-O, --aws-access-key KEY' missing (-h for usage)
Also please tell me how to set EC2_PRIVATE_KEY, EC2_CERT parameters. How to resolve this.