Generating new ssh host keys for openSSH server

From Notes_Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Home > CentOS > CentOS 6.x > OpenSSH server configuration > Generating new ssh host keys for openSSH server

To generate new SSH host keys use command:

ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key


Find key strength, finger print and ASCII art of existing SSH-key

To find key strength, finger print and ASCII art of existing SSH key use:

ssh-keygen -vl -f <public-key>



Home > CentOS > CentOS 6.x > OpenSSH server configuration > Generating new ssh host keys for openSSH server