CLI Client: SSH Key Pairs
This page describes how to use the Openstack CLI client to manage your ssh keys.
List Public Keys
openstack keypair list
List public keys in your user account. These keys are visible only to you across your projects.
Create a New SSH Key Pair
openstack keypair create --private-key <private-key-file> <new-key-name>
Generate a new ssh key pair. The public key is saved in your user account.
Option:
* `--private-key
Import a Public Key
openstack keypair create --public-key <public-key-file> <new-key-name>
Use this command to import the public key of an ssh key pair that you already have and use.
Delete a Public Key
openstack keypair delete <key-name>
Delete the specified public key from your user account.