Generating new ssh host keys for openSSH server

From Notes_Wiki
Revision as of 00:57, 13 September 2013 by Saurabh (talk | contribs)

<yambe:breadcrumb self="Generate keys">OpenSSH server configuration|OpenSSH</yambe:breadcrumb>

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 of existing SSH-key

To find key strength of existing SSH key use:

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


Back to OpenSSH server configuration