aws emr socks
Create a socks tunnel on port 8157 from your machine to the master. AWS CLI reference
3 options Its page in the AWS CLI reference
Options
--cluster-idCluster Id of cluster you want to ssh into--key-pair-filePrivate key file to use for login--ssh-optionsAdditional SSH options passed directly to the ssh/scp command.