how to change SSH key pair with 4096 bits

asked 2017-03-20 06:46:09 -0600

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

edit retag flag offensive close merge delete

Comments

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.

Bernd Bausch gravatar imageBernd Bausch ( 2017-03-21 22:13:36 -0600 )edit