Difference between revisions of "Generating new ssh host keys for openSSH server"

From Notes_Wiki
m
m
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<yambe:breadcrumb self="Generate keys">OpenSSH server configuration|OpenSSH</yambe:breadcrumb>
[[Main Page|Home]] > [[CentOS]] > [[CentOS 6.x]] > [[OpenSSH server configuration]] > [[Generating new ssh host keys for openSSH server]]
=Generating new SSH host keys for openSSH server=


To generate new SSH host keys use command:
To generate new SSH host keys use command:
Line 8: Line 7:




Back to [[OpenSSH server configuration]]
==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:
<pre>
ssh-keygen -vl -f <public-key>
</pre>
 
 
 
 
[[Main Page|Home]] > [[CentOS]] > [[CentOS 6.x]] > [[OpenSSH server configuration]] > [[Generating new ssh host keys for openSSH server]]

Latest revision as of 09:46, 14 July 2022

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