Allen's Techlog
Friday, November 18, 2016
regenerate ssh host key on CentOS 7
after duplicate vm image, we need to regenerate sshd's host key, here is the steps:
rm -f /etc/ssh/ssh_host_*
systemctl restart sshd.service
it will regenerate all the necessary files to avoid the host identity warnings.
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)