how to change SSH key pair with 4096 bits
VMs are created using SSH keys 2048 bits by default but if I want to create a new VMs with 4096 bits, what exact configuration files to modify the key pair bits ?
These configuration file changes will affect?
/etc/pki/tls/certs/Makefile:KEYLEN=2048 /etc/pki/tls/certs/make-dummy-cert: answers | /usr/bin/openssl req -newkey rsa:2048 -keyout $PEM1 -nodes -x509 -days 365 -out $PEM2 2> /dev/null /etc/pki/tls/openssl.cnf:default_bits = 2048
You could just use ssh-keygen or another key generator and create the key you want, then import the key to OpenStack, e.g.
openstack keypair-create --public-key yourpublickey.pub yourkeyname
.