ssh-keygen -y -f ~/.ssh/mykeyfile.pem > ~/.ssh/mykeyfile.pub
Post written by: Paul Gurnig
You May Also Like
AWS CLI: Filtering for Output
The command below will show only the availability zones for the user’s default Region (as specified in aws…
AWS CLI: List AZs for another Region
In the AWS CLI, you can specify another region without updating your configuration. As an example, for a…
AWS CLI: Create a Named VPC
Creating a VPC uses the ec2 command. In this example, the VPC will be named “vpc-01”. AWS Documentation…